From: Chen Gang Date: Wed, 3 Jul 2013 22:04:52 +0000 (-0700) Subject: arch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=760033c45e8aa13c9e02530da7274edc624c7689;p=pandora-kernel.git arch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() Since die_if_kernel() is an extern common used function, better always check the buffer length to avoid memory overflow by a long 'str'. Signed-off-by: Chen Gang Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed