summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2014-10-11 13:46:29 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-14 15:05:33 -0400
commitee7ff5fed25711a26da7826071e6ede8af049ad2 (patch)
treeb3335735c602a3dc1ac1ec1b5dbb580225c30f90 /drivers/uwb
parent1bdc07ebabefd19b56d1d36584a401ff6085fa71 (diff)
downloadlinux-stable-ee7ff5fed25711a26da7826071e6ede8af049ad2.tar.gz
linux-stable-ee7ff5fed25711a26da7826071e6ede8af049ad2.tar.bz2
linux-stable-ee7ff5fed25711a26da7826071e6ede8af049ad2.zip
isdn/gigaset: make sure controller name is null terminated
In gigaset_isdn_regdev, the name field may not have a null terminator if the source string's length is equal to the buffer size. Fix by zero filling the structure and excluding the last byte of the name field from the copy. Spotted with Coverity. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions