aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-07-03 22:04:53 +0000
committerLinus Torvalds <[email protected]>2013-07-03 23:07:41 +0000
commit98bd8d05ea5798ff3179ee33f0ca2789722ecc5a (patch)
tree370a982aa598bdf50f31ab0f3b3cccba62143ddc /lib/dump_stack.c
parentarch/frv/kernel/traps.c: using vsnprintf() instead of vsprintf() (diff)
downloadkernel-98bd8d05ea5798ff3179ee33f0ca2789722ecc5a.tar.gz
kernel-98bd8d05ea5798ff3179ee33f0ca2789722ecc5a.zip
arch/frv/kernel/setup.c: use strncmp() instead of memcmp()
'cmdline' is a NUL terminated string, when its length < 4, memcmp() will cause memory access out of boundary. So use strncmp() instead of memcmp(). Signed-off-by: Chen Gang <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions