[dovecot-cvs] dovecot/src/auth passdb-pam.c,1.22,1.23
cras at dovecot.org
cras at dovecot.org
Sun Mar 13 01:10:37 EET 2005
- Previous message: [dovecot-cvs] dovecot/src/lib data-stack.c, 1.21,
1.22 ioloop-epoll.c, 1.2, 1.3 mempool-alloconly.c, 1.28,
1.29 mempool-system.c, 1.15, 1.16 process-title.c, 1.6,
1.7 restrict-access.c, 1.18, 1.19
- Next message: [dovecot-cvs] dovecot/src/deliver - New directory,NONE,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv28892/auth
Modified Files:
passdb-pam.c
Log Message:
If we run out of memory, exit with FATAL_OUTOFMEM status instead of dumping
core. Also changed a few other i_panic() calls to others.
Index: passdb-pam.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-pam.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- passdb-pam.c 28 Feb 2005 22:19:21 -0000 1.22
+++ passdb-pam.c 12 Mar 2005 23:10:35 -0000 1.23
@@ -132,12 +132,12 @@
case PAM_PROMPT_ECHO_ON:
string = strdup(userpass->user);
if (string == NULL)
- i_fatal("Out of memory");
+ i_fatal_status(FATAL_OUTOFMEM, "Out of memory");
break;
case PAM_PROMPT_ECHO_OFF:
string = strdup(userpass->pass);
if (string == NULL)
- i_fatal("Out of memory");
+ i_fatal_status(FATAL_OUTOFMEM, "Out of memory");
break;
case PAM_ERROR_MSG:
case PAM_TEXT_INFO:
- Previous message: [dovecot-cvs] dovecot/src/lib data-stack.c, 1.21,
1.22 ioloop-epoll.c, 1.2, 1.3 mempool-alloconly.c, 1.28,
1.29 mempool-system.c, 1.15, 1.16 process-title.c, 1.6,
1.7 restrict-access.c, 1.18, 1.19
- Next message: [dovecot-cvs] dovecot/src/deliver - New directory,NONE,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list