summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2015-12-13 22:51:37 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2016-02-12 18:34:16 (GMT)
commit2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b (patch)
treea3a0427b29bc527c87ed525a4a57879e0cb05ea2 /arch/um
parent7fffa694a8917af0c553ab48290a57e3674aa5d3 (diff)
downloadlinux-2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b.tar.xz
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 'arch/um')
0 files changed, 0 insertions, 0 deletions