summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2015-12-14 01:51:37 +0300
committerBrian Norris <computersforpeace@gmail.com>2016-02-12 21:34:16 +0300
commit2c4fd433fb934c7d5ed02113a5eaa3edb42ea10b (patch)
treea3a0427b29bc527c87ed525a4a57879e0cb05ea2 /tools/perf/scripts/python/call-graph-from-postgresql.py
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions