aboutsummaryrefslogtreecommitdiffstats
path: root/ntlmsubr.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings.Matthias Andree2012-08-141-4/+8
|
* Validate NTLM challenge fields.Matthias Andree2012-08-141-1/+19
| | | | | This is to avoid reading from bad locations, and possibly conveying confidential data. Credit to Nico Golde.
* Fix crash: Handle invalid base64 in NTLM challenge.Matthias Andree2012-08-131-1/+8
| | | | | | | | | | | | | | Some servers, for instance the MS Exchange servers deployed by the US-American National Aeronautics and Space Administration (NASA), aborted the NTLM protocol exchange after receiving the initial request. Fetchmail did not detect that there was an error message, rather than NTLM protocol exchange, and caught a segmentation fault while reading from a bad location. Detect base64 decoding errors, and return PS_AUTHFAIL in this case. Reported by J[ames] Porter Clark.
* Return proper PS_AUTHFAIL if we don't get the right SASL challenge.Matthias Andree2010-10-091-0/+1
|
* NTLM: cancel properly in case of failure.Matthias Andree2010-10-091-4/+17
|
* Factor out common NTLM code.Matthias Andree2010-10-091-0/+74