linux/Documentation/mic/mpssd
Mike Danese 3610a2add3 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 f4a66c2044 ("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>
2016-06-03 13:31:37 -06:00
..
.gitignore
Makefile Documentation/mic/mpssd: don't build x86 userspace when cross compiling 2015-06-22 16:05:11 -06:00
micctrl
mpss misc: mic: MIC host and card driver changes to enable VOP 2016-02-09 17:32:37 -08:00
mpssd.c mpssd: fix buffer overflow warning 2016-06-03 13:31:37 -06:00
mpssd.h misc: mic: Update MIC host daemon with COSM changes 2015-10-04 12:54:54 +01:00
sysfs.c