diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2015-12-13 22:51:37 +0000 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-02-12 10:34:16 -0800 |
commit | 2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b (patch) | |
tree | a3a0427b29bc527c87ed525a4a57879e0cb05ea2 /drivers/atm | |
parent | 7fffa694a8917af0c553ab48290a57e3674aa5d3 (diff) | |
download | linux-stable-2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b.tar.gz linux-stable-2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b.tar.bz2 linux-stable-2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b.zip |
mtd: bcm63xxpart: Null terminate and validate conversion of flash strings
Strings read from flash could be missing null termination characters, or
not contain valid integers.
Null terminate the strings and check for errors when converting them to
integers.
Also validate that the addresses are at least BCM963XX_EXTENDED_SIZE
because this will be subtracted from them.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions