fix potential NULL deref
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1592 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -24,7 +24,7 @@ pop_user (POP *p)
|
||||
} else if (p->auth_level != AUTH_NONE) {
|
||||
char *s = otp_error(&p->otp_ctx);
|
||||
return pop_msg(p, POP_FAILURE, "Permission denied%s%s",
|
||||
s ? ":" : "", s);
|
||||
s ? ":" : "", s ? s : "");
|
||||
} else
|
||||
return pop_msg(p, POP_SUCCESS, "Password required for %s.", p->user);
|
||||
}
|
||||
|
Reference in New Issue
Block a user