Dan Carpenter
665aa8cdc4
ghes_edac: Use snprintf() to silence a static checker warning
...
My static checker complains because the "e->location" has up to 256
characters but we are copying it into the "pvt->detail_location" which
only has space for 240 characters. That's not counting the surrounding
text and the "e->other_detail" string which can be over 80 characters
long.
I am not familiar with this code but presumably it normally works.
Let's add a limit though for safety.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Link: http://lkml.kernel.org/r/20140801082514.GD28869@mwanda
Signed-off-by: Borislav Petkov <bp@suse.de>
2014-11-11 18:08:56 +01:00
..
2014-10-11 11:34:07 -07:00
2014-10-18 18:11:04 -07:00
2014-10-17 11:55:32 -04:00
2014-10-15 07:23:49 +02:00
2014-10-09 14:58:15 -04:00
2014-10-18 12:12:45 -07:00
2014-10-13 11:28:42 +02:00
2014-10-08 17:37:16 -04:00
2014-10-18 10:25:09 -07:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 10:51:23 +02:00
2014-10-18 18:11:04 -07:00
2014-10-09 02:39:07 -04:00
2014-11-11 18:08:56 +01:00
2014-10-09 22:26:00 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 09:39:08 +02:00
2014-10-09 14:58:15 -04:00
2014-10-03 08:19:02 -07:00
2014-10-19 12:50:44 -07:00
2014-10-18 12:12:45 -07:00
2014-10-19 12:29:23 -07:00
2014-10-19 12:40:24 -07:00
2014-10-15 07:23:49 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 15:05:35 -04:00
2014-10-10 16:40:14 -04:00
2014-10-18 12:25:30 -07:00
2014-10-18 18:11:04 -07:00
2014-10-14 02:18:22 +02:00
2014-10-07 21:29:18 -04:00
2014-10-15 06:58:16 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 12:12:45 -07:00
2014-10-18 18:11:04 -07:00
2014-10-18 18:11:04 -07:00
2014-10-07 14:48:29 -04:00
2014-10-17 07:08:51 -04:00
2014-10-11 06:47:50 -04:00
2014-10-13 16:23:15 +02:00
2014-10-11 20:29:01 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 02:18:25 +02:00
2014-10-14 02:18:25 +02:00
2014-10-15 06:56:23 +02:00
2014-10-15 06:56:23 +02:00
2014-10-14 02:18:19 +02:00
2014-10-18 12:12:45 -07:00
2014-10-18 12:12:45 -07:00
2014-10-08 17:37:16 -04:00
2014-10-18 18:11:04 -07:00
2014-10-09 14:58:15 -04:00
2014-10-14 09:39:08 +02:00
2014-10-18 11:53:51 -07:00
2014-10-14 02:18:25 +02:00
2014-10-18 18:11:04 -07:00
2014-10-13 11:28:42 +02:00
2014-10-15 07:23:49 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 10:25:09 -07:00
2014-10-10 16:40:14 -04:00
2014-10-11 20:29:01 -04:00