diff options
| author | Chen Gang <[email protected]> | 2013-07-03 22:04:52 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 23:07:41 +0000 |
| commit | 760033c45e8aa13c9e02530da7274edc624c7689 (patch) | |
| tree | 1bc2fd61d9af6a4133dde164705d758ffd342a90 /lib/dump_stack.c | |
| parent | mm: memcontrol: factor out reclaim iterator loading and updating (diff) | |
| download | kernel-760033c45e8aa13c9e02530da7274edc624c7689.tar.gz kernel-760033c45e8aa13c9e02530da7274edc624c7689.zip | |
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 <[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
