[dovecot-cvs] dovecot/src/login-common auth-common.c,1.1,1.2
cras at procontrol.fi
cras at procontrol.fi
Sat Feb 8 14:15:15 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.29,1.30 imap-envelope.c,1.22,1.23 imap-parser.c,1.37,1.38 imap-parser.h,1.12,1.13 imap-quote.c,1.5,1.6 imap-quote.h,1.3,1.4
- Next message: [dovecot-cvs] dovecot/src/login-common auth-connection.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/login-common
In directory danu:/tmp/cvs-serv16666
Modified Files:
auth-common.c
Log Message:
Don't crash if authentication was aborted too early.
Index: auth-common.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/auth-common.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- auth-common.c 2 Feb 2003 10:46:20 -0000 1.1
+++ auth-common.c 8 Feb 2003 12:15:12 -0000 1.2
@@ -30,8 +30,10 @@
if (reply == NULL) {
/* failed */
- auth_request_unref(client->auth_request);
- client->auth_request = NULL;
+ if (client->auth_request != NULL) {
+ auth_request_unref(client->auth_request);
+ client->auth_request = NULL;
+ }
*error = "Authentication process died.";
return -1;
}
- Previous message: [dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.29,1.30 imap-envelope.c,1.22,1.23 imap-parser.c,1.37,1.38 imap-parser.h,1.12,1.13 imap-quote.c,1.5,1.6 imap-quote.h,1.3,1.4
- Next message: [dovecot-cvs] dovecot/src/login-common auth-connection.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list