linux/drivers/isdn/gigaset
Tilman Schmidt 097933ddcd isdn/gigaset: limit raw CAPI message dump length
In dump_rawmsg, the length field from a received data package was
used unscrutinized, allowing an attacker to control the size of the
allocated buffer and the number of times the output loop iterates.
Fix by limiting to a reasonable value.

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 isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
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: limit raw CAPI message dump length 2014-10-14 15:05:33 -04:00
common.c isdn/gigaset: beautify common.c 2013-01-21 17:36:25 -05:00
dummyll.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
ev-layer.c isdn/gigaset: improve error handling when leaving DLE mode 2014-10-05 21:17:52 -04:00
gigaset.h isdn/gigaset: beautify ev-layer.c 2013-01-21 17:36:26 -05:00
i4l.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
interface.c TTY: add tty_port_tty_wakeup helper 2013-03-18 16:19:45 -07:00
isocdata.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile gigaset: add Kernel CAPI interface (v3) 2009-10-06 22:43:53 -07:00
proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ser-gigaset.c isdn/gigaset: unify function return values 2012-05-07 22:37:56 -04:00
usb-gigaset.c isdn/gigaset: use USB API function usb_endpoint_num() 2014-10-05 21:17:52 -04:00