summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-10-24 11:33:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-28 18:26:03 +0100
commit574161e0d97d3b895a938ead580d617e25e7cb8c (patch)
tree0bcfad61e7f94ac9257d436e26c174abf0c817ef /tools/perf/scripts/python/call-graph-from-postgresql.py
parent46605d80ecdd15df0e5fb77224d915c18cfb07dc (diff)
wireless: airo: potential buffer overflow in sprintf()
[ Upstream commit 3d39e1bb1c88f32820c5f9271f2c8c2fb9a52bac ] It looks like we wanted to print a maximum of BSSList_rid.ssidLen bytes of the ssid, but we accidentally use "%*s" (width) instead of "%.*s" (precision) so if the ssid doesn't have a NUL terminator this could lead to an overflow. Static analysis. Not tested. Fixes: e174961ca1a0 ("net: convert print_mac to %pM") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions