QUIT command crashes
Status: Alpha
Brought to you by:
smithk2
When you issue a QUIT command before any other
Pop3 commands (User, Pass, etc), the program
crashes.
Repro Steps:
- Start the services
- in a command line window write:
telnet localhost 45012
at the prompt write: QUIT
Result: Crash
Expected: No crash. Client disconnect, server
continues.
Logged In: NO
It happen when connection was just established and before
login. Solution: in ghttp_clean(ghttp_request *a_request)
Insert checking of a_request==NULL:
ghttp_clean(ghttp_request *a_request)
{
if( !a_request )
return;
...