Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
Paul Burton f88e632480 MIPS: Avoid buffer overrun in mips_cm_error_report
Commit 3885c2b463 ("MIPS: CM: Add support for reporting CM cache
errors") added cases for decoding errors reported by CM3, but leaves the
buf variable which is printed as a string uninitialised for cause values
other than 1, 2 or 3. Fix by ensuring the buf variable is initialised to
an empty string in such cases.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11187/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-10-26 09:49:46 +01:00
..
2015-09-22 21:11:39 +02:00
2015-08-18 11:40:20 +02:00
2011-12-07 22:03:45 +00:00
2015-08-26 15:23:03 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-08-26 13:45:51 -04:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2015-08-26 15:23:03 +02:00
2014-05-02 16:39:10 +01:00
2015-03-19 17:39:49 +01:00
2014-08-02 00:06:37 +02:00
2015-09-03 12:08:05 +02:00
2015-09-03 12:08:05 +02:00
2015-09-27 14:15:26 +02:00
2015-08-26 15:23:03 +02:00
2014-05-24 00:07:01 +02:00
2014-05-24 00:07:01 +02:00
2009-06-24 18:34:40 +01:00
2015-10-26 09:49:44 +01:00
2015-09-03 12:08:05 +02:00
2014-11-24 07:45:38 +01:00
2014-05-24 00:07:01 +02:00