remarkable-linux/drivers/isdn/gigaset
Tilman Schmidt ee7ff5fed2 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>
2014-10-14 15:05:33 -04:00
..
asyncdata.c
bas-gigaset.c isdn/bas_gigaset: use USB API functions rather than constants 2014-08-22 12:23:10 -07:00
capi.c isdn/gigaset: make sure controller name is null terminated 2014-10-14 15:05:33 -04:00
common.c
dummyll.c
ev-layer.c isdn/gigaset: improve error handling when leaving DLE mode 2014-10-05 21:17:52 -04:00
gigaset.h
i4l.c
interface.c
isocdata.c
Kconfig
Makefile
proc.c
ser-gigaset.c
usb-gigaset.c isdn/gigaset: use USB API function usb_endpoint_num() 2014-10-05 21:17:52 -04:00