diff options
author | 2008-05-23 13:04:59 -0700 | |
---|---|---|
committer | 2008-05-24 09:56:13 -0700 | |
commit | 7b26655f6208fdefa9ab0adc016116324f8d4ba8 (patch) | |
tree | 07f081c52da72a9730861c74ebea86ea48d402e2 /lib/debugobjects.c | |
parent | edac: mpc85xx: fix building as a module (diff) | |
download | wireguard-linux-7b26655f6208fdefa9ab0adc016116324f8d4ba8.tar.xz wireguard-linux-7b26655f6208fdefa9ab0adc016116324f8d4ba8.zip |
sys_prctl(): fix return of uninitialized value
If none of the switch cases match, the PR_SET_PDEATHSIG and
PR_SET_DUMPABLE cases of the switch statement will never write to local
variable `error'.
Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
Cc: Andrew G. Morgan <morgan@kernel.org>
Acked-by: "Serge E. Hallyn" <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions