Skip to content
Snippets Groups Projects
Commit 4ae45702 authored by rswindell's avatar rswindell
Browse files

Logs number of lines when invalid inbound message length detected.

parent 91ccf294
No related branches found
No related tags found
No related merge requests found
......@@ -1336,7 +1336,8 @@ static void smtp_thread(void* arg)
}
if(ftell(msgtxt)<1) {
lprintf("%04d !SMTP INVALID MESSAGE LENGTH: %ld", socket, ftell(msgtxt));
lprintf("%04d !SMTP INVALID MESSAGE LENGTH: %ld (%lu lines)"
, socket, ftell(msgtxt), lines);
sockprintf(socket,"554 No message text");
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment