projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6d082
)
SMTP-Server: Assert with backtrace instead of running in a null pointer situation...
author
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 25 May 2012 13:19:39 +0000
(15:19 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Fri, 25 May 2012 13:19:39 +0000
(15:19 +0200)
citadel/modules/smtp/serv_smtp.c
patch
|
blob
|
history
diff --git
a/citadel/modules/smtp/serv_smtp.c
b/citadel/modules/smtp/serv_smtp.c
index a7e69451ad6820e898dda3c88737a476f0c57e5f..0219659b936993ae87199b7a68cd4dbf8b74c9eb 100644
(file)
--- a/
citadel/modules/smtp/serv_smtp.c
+++ b/
citadel/modules/smtp/serv_smtp.c
@@
-831,6
+831,7
@@
void smtp_command_loop(void) {
if (sSMTP == NULL) {
syslog(LOG_EMERG, "Session SMTP data is null. WTF? We will crash now.\n");
+ return cit_panic_backtrace (0);
}
time(&CC->lastcmd);