2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/Documentation/mic
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
..
mpssd mpssd: fix buffer overflow warning 2016-06-03 13:31:37 -06:00
Makefile Documentation: add makefiles for more targets 2014-09-26 11:02:56 +02:00
mic_overview.txt misc: mic: MIC host and card driver changes to enable VOP 2016-02-09 17:32:37 -08:00
scif_overview.txt misc: mic: SCIF header file and IOCTL interface 2015-05-24 12:13:36 -07:00