Files
linux-kernel-test/arch/x86/kernel
Dan Carpenter b365a85c68 x86, UV: Use allocated buffer in tlb_uv.c:tunables_read()
The original code didn't check that the value returned from
snprintf() was less than the size of the buffer.  Although it
didn't cause a runtime bug in this case, it makes the static
checkers complain.

Andrew Morton suggested a dynamically sized buffer would be
cleaner.

Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Cliff Wickman <cpw@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Robin Holt <holt@sgi.com>
LKML-Reference: <20100929083118.GA6376@bicker>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-09-30 09:11:27 +02:00
..
2010-07-19 10:56:54 +02:00
2010-07-21 11:33:27 -07:00
2009-07-19 18:27:51 +02:00
2010-02-07 17:47:51 +01:00
2010-06-16 18:05:05 +02:00
2010-07-21 21:23:51 -07:00
2010-07-30 18:02:21 -07:00
2009-12-09 16:28:59 -08:00
2010-03-26 11:33:57 +01:00
2010-02-16 18:21:32 +01:00
2010-08-05 08:45:05 +02:00
2010-07-21 21:23:40 -07:00