aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 07:38:24 +0000
committerJiri Kosina <[email protected]>2020-03-11 10:58:58 +0000
commit62a1a58039595698f644f560f00105bb4d5f5c7f (patch)
tree5b04a64465ee8f2ce07898bbc81854e6c7adf1cf /tools/perf/scripts/python/stackcollapse.py
parentHID: hid-picolcd_fb: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadkernel-62a1a58039595698f644f560f00105bb4d5f5c7f.tar.gz
kernel-62a1a58039595698f644f560f00105bb4d5f5c7f.zip
HID: hid-sensor-custom: 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(). Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions