[go: up one dir, main page]

Menu

#1 QUIT command crashes

open-accepted
None
5
2002-06-11
2002-06-04
No

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.

Discussion

  • Korwin Smith

    Korwin Smith - 2002-06-11
    • assigned_to: nobody --> smithk2
    • status: open --> open-accepted
     
  • Nobody/Anonymous

    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;

    http\_resp\_destroy\(a\_request->resp\);
    

    ...

     

Log in to post a comment.