diff options
author | 2016-05-19 21:54:51 -0700 | |
---|---|---|
committer | 2016-06-03 13:31:37 -0600 | |
commit | 3610a2add39365a0f153154c60169a66c616d50f (patch) | |
tree | 45580c74529d4e1f9ced50f3c7f986a2d8c6617c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Documentation: Fix some grammar mistakes in sync_file.txt (diff) | |
download | linux-dev-3610a2add39365a0f153154c60169a66c616d50f.tar.xz linux-dev-3610a2add39365a0f153154c60169a66c616d50f.zip |
mpssd: fix buffer overflow warning
The compilation emits a warning in function ‘snprintf’,
inlined from ‘set_cmdline’ at
../Documentation/mic/mpssd/mpssd.c:1541:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10:
warning: call to __builtin___snprintf_chk will always overflow
destination buffer
This was introduced in commit f4a66c204482 ("misc: mic: Update MIC host
daemon with COSM changes") and is fixed by reverting the changes to the
size argument of these snprintf statements.
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Mike Danese <mikedanese@google.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions