Re: [PATCH 11/14] auth: fix use of uninitialized variable err

2013-11-09 Thread Samuel Thibault
Justus Winter, le Fri 08 Nov 2013 21:24:19 +0100, a écrit : > Previously a plausible execution path existed so the value of err was > undefined at the end of the function, making the function return > arbitrary error values. Fix this by initializing it to 0. > > Found using the Clang Static Analyz

[PATCH 11/14] auth: fix use of uninitialized variable err

2013-11-08 Thread Justus Winter
Previously a plausible execution path existed so the value of err was undefined at the end of the function, making the function return arbitrary error values. Fix this by initializing it to 0. Found using the Clang Static Analyzer. * auth/auth.c (S_auth_server_authenticate): Initialize err to 0.