Change #273310
| Category | curl |
| Changed by | Patrick Monnerat <patrick@monnerat.net> |
| Changed at | Tue 30 Jun 2026 08:58:33 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | f02c53361e0a00775e3b250b3b60e3da77063ba2 |
Comments
sasl: fix zero-length response encoding A sasl zero-length normal response is an empty string, unlike an initial response. Since the encoding of a zero-length initial response is protocol dependent, move its handling to the protocol-specific sendauth procedure. Similarly, do not check for an '=' server message, as this should normally never occur. Update the erroneous tests accordingly. Closes #22218
Changed files
- lib/curl_sasl.c
- lib/imap.c
- lib/pop3.c
- lib/smtp.c
- tests/data/test838
- tests/data/test884
- tests/data/test943