aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorShi Weihua <[email protected]>2008-05-23 13:04:59 -0700
committerLinus Torvalds <[email protected]>2008-05-24 09:56:13 -0700
commit7b26655f6208fdefa9ab0adc016116324f8d4ba8 (patch)
tree07f081c52da72a9730861c74ebea86ea48d402e2 /net/unix/sysctl_net_unix.c
parentf99c90094bffbe1cf38ef66f198a808c14a02d56 (diff)
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 <[email protected]> Cc: Andrew G. Morgan <[email protected]> Acked-by: "Serge E. Hallyn" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions