android_kernel_samsung_univ.../Documentation/mic
Mike Danese 3314f1f698 mpssd: fix buffer overflow warning
commit 3610a2add39365a0f153154c60169a66c616d50f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-24 10:07:42 +02:00
..
mpssd mpssd: fix buffer overflow warning 2016-09-24 10:07:42 +02:00
Makefile
mic_overview.txt misc: mic: Update MIC host daemon with COSM changes 2015-10-04 12:54:54 +01:00
scif_overview.txt misc: mic: SCIF header file and IOCTL interface 2015-05-24 12:13:36 -07:00