tracing/fastboot: fix len of func buffer
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 11 Dec 2008 15:10:08 +0000 (16:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 08:26:12 +0000 (09:26 +0100)
commit8001530d5af707eb9a158839c8f651eb6c1cb3c2
tree052788f8eb59b13bb7d1edf691150dbc7a54901b
parentf3134de60624829a57741c1f3796847d4de165f6
tracing/fastboot: fix len of func buffer

Impact: fix possible stack overrun

This is a port of a patch included in the mainline (KSYM_SYMBOL_LEN fixes).
The current func len is not large enough to contain the max symbol len, the
right size must be KSYM_SYMBOL_LEN.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/trace/boot.h