Files
linux/Documentation
Mike Danese 3314f1f698 mpssd: fix buffer overflow warning
commit 3610a2add3 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
..
2015-09-24 15:39:42 -06:00
2011-09-27 18:08:04 +02:00
2012-04-03 13:09:18 +02:00
2014-02-28 15:12:08 -08:00
2011-09-27 18:08:04 +02:00
2014-02-10 16:01:40 -08:00
2015-08-28 22:59:36 -04:00
2015-10-27 18:55:31 -07:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2016-09-24 10:07:42 +02:00
2015-10-26 16:00:09 +01:00
2015-06-08 23:15:45 +02:00
2015-07-14 12:35:42 -06:00
2015-11-06 17:50:42 -08:00
2015-02-27 11:44:24 -08:00
2014-05-05 15:32:05 +02:00
2013-12-02 14:48:28 +01:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2012-02-28 16:05:06 +01:00
2014-05-05 15:32:05 +02:00
2012-01-02 13:04:55 +01:00
2014-09-23 23:44:16 -07:00