aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-15 10:34:59 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-15 17:06:22 -0700
commit4a348601eb9131893c22b6ed2d3b6ba2bafc2391 (patch)
tree15aa81cb350aef607c945bf6ade1ac0acb66cf75 /tools/perf/scripts/python/exported-sql-viewer.py
parentnet: caif: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadwireguard-linux-4a348601eb9131893c22b6ed2d3b6ba2bafc2391.tar.xz
wireguard-linux-4a348601eb9131893c22b6ed2d3b6ba2bafc2391.zip
net: mlx4: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Cc: "David S . Miller" <davem@davemloft.net> Cc: Tariq Toukan <tariqt@mellanox.com> To: netdev@vger.kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions