Show
Ignore:
Timestamp:
2007-04-02 15:20:58 (22 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
mutt-1-4-stable
Message:

Validate msgid in APOP authentication. Closes #2846

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pop_auth.c

    r2766 r5154  
    185185    return POP_A_UNAVAIL; 
    186186 
     187  if (rfc822_valid_msgid (pop_data->timestamp) < 0) 
     188  { 
     189    mutt_error _("POP timestamp is invalid!"); 
     190    mutt_sleep (2); 
     191    return POP_A_UNAVAIL; 
     192  } 
     193 
    187194  mutt_message _("Authenticating (APOP)..."); 
    188195