linux-stable/drivers/atm
Dan Carpenter 86f04396ff atm: firestream: add more reserved strings
This bug was there when the driver was first added in back in year 2000.
It causes a Smatch warning:

    drivers/atm/firestream.c:849 process_incoming()
    error: buffer overflow 'res_strings' 60 <= 63

There are supposed to be 64 entries in this array and the missing
strings are clearly in the 30 40 range.  I added them as reserved 37 to
reserved 40.  It's possible that strings are really supposed to be added
in the middle instead of at the end, but this approach is safe, in that
it fixes the bug and doesn't break anything that wasn't already broken.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-31 11:52:59 -07:00
..
.gitignore
adummy.c
ambassador.c atm: ambassador: use NULL instead of 0 for pointer 2014-02-19 16:39:10 -05:00
ambassador.h
atmtcp.c drivers/atm/atmtcp.c: fix error return code 2014-08-07 16:02:57 -07:00
eni.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
eni.h
firestream.c atm: firestream: add more reserved strings 2016-05-31 11:52:59 -07:00
firestream.h atm: firestream: remove duplicate define 2013-10-21 18:46:46 -04:00
fore200e.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
fore200e.h
he.c atm: he: drop null test before destroy functions 2015-09-15 16:49:43 -07:00
he.h atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
horizon.c atm: horizon: Remove some unused functions 2015-01-13 17:28:19 -05:00
horizon.h
idt77105.c atm: idt77105: Use setup_timer 2015-06-10 22:46:34 -07:00
idt77105.h
idt77252.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
idt77252.h
idt77252_tables.h
iphase.c atm: iphase: fix misleading indention 2015-10-12 19:56:27 -07:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-08 14:22:05 -05:00
Kconfig
lanai.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
Makefile
midway.h
nicstar.c drivers: atm: nicstar: remove ifdef'd out skb destructors 2015-03-10 13:34:53 -04:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c atm: solos-pci: use to_pci_dev() 2015-12-29 15:32:24 -05:00
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c atm: remove deprecated use of pci api 2015-01-18 00:28:41 -05:00
zatm.h
zeprom.h