aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFrank Rowand <[email protected]>2018-05-16 21:19:51 -0700
committerRob Herring <[email protected]>2018-05-23 15:07:43 -0500
commit482137bf2aecd887ebfa8756456764a2f6a0e545 (patch)
tree93348102e5fd1d4ab474eb4fb66f1631ea17c82f /tools/perf/scripts/python/export-to-postgresql.py
parent3b9cf7905fe3ab35ab437b5072c883e609d3498d (diff)
of: overlay: validate offset from property fixups
The smatch static checker marks the data in offset as untrusted, leading it to warn: drivers/of/resolver.c:125 update_usages_of_a_phandle_reference() error: buffer underflow 'prop->value' 's32min-s32max' Add check to verify that offset is within the property data. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Frank Rowand <[email protected]> Cc: <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions