wmbiff: fixed possible null-pointer dereference.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
This commit is contained in:
parent
de97a44cb4
commit
70ceed6e38
|
@ -235,9 +235,11 @@ char *passwordFor(const char *username, const char *servername, Pop3 *pc,
|
|||
return (ret);
|
||||
}
|
||||
/* else fall through, overwrite */
|
||||
} else if (pc) {
|
||||
} else {
|
||||
if (pc) {
|
||||
/* if we've asked, but received nothing, disable this box */
|
||||
pc->checkMail = NULL;
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue