From: Timo Sirainen Date: Sun, 4 Apr 2010 22:30:00 +0000 (+0300) Subject: auth: Don't pass uninitialized value to callback function. X-Git-Tag: 2.0.beta5~228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5367840b91df098e016f382960c391691c8d33ff;p=thirdparty%2Fdovecot%2Fcore.git auth: Don't pass uninitialized value to callback function. (Even though callback shouldn't use it then.) --HG-- branch : HEAD --- diff --git a/src/auth/passdb.c b/src/auth/passdb.c index c892845223..a53c501ea9 100644 --- a/src/auth/passdb.c +++ b/src/auth/passdb.c @@ -134,7 +134,7 @@ void passdb_handle_credentials(enum passdb_result result, lookup_credentials_callback_t *callback, struct auth_request *auth_request) { - const unsigned char *credentials; + const unsigned char *credentials = NULL; size_t size = 0; if (result != PASSDB_RESULT_OK) {