aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
author[email protected] <[email protected]>2018-11-09 16:56:50 +0000
committerBoris Brezillon <[email protected]>2018-11-13 20:37:34 +0100
commitc797bd81d10e648ec8c84c041191527113e63e85 (patch)
tree8857caf1ed97d09e8de1452f76f008fc5514e5a5 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentcd5e6d79384eb2dd47de6cb9569150053d4a6803 (diff)
mtd: spi-nor: fix iteration over smpt array
Iterate over smpt array using its starting address and length instead of the blind iterations that used data found in the array. This prevents possible memory accesses outside of the smpt array boundaries in case software, or manufacturers, misrepresent smpt array fields. Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table") Suggested-by: Boris Brezillon <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions