diff options
author | Leah Neukirchen <leah@vuxu.org> | 2021-08-30 17:49:32 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-08-30 18:12:30 +0200 |
commit | 41bd429452f45cb43110ec4699871a2cbd9c0a5e (patch) | |
tree | 49fa1e50cb888dceb7341f88d3d465caa7d42823 /mcom | |
parent | 4be6e0ce91c0690d3cbf58bd7b76144e01fe2be7 (diff) | |
download | mblaze-41bd429452f45cb43110ec4699871a2cbd9c0a5e.tar.gz mblaze-41bd429452f45cb43110ec4699871a2cbd9c0a5e.tar.xz mblaze-41bd429452f45cb43110ec4699871a2cbd9c0a5e.zip |
blaze822: blaze822/blaze822_mem: detect line ending before scanning end of header
A mail using CRLF which contained (for some reason) a LFLF pair would be misparsed as the header was read until the LFLF. Instead, scan for the first LF, check if it's preceded by CR, and then search for the proper header terminator only. Closes #212.
Diffstat (limited to 'mcom')
0 files changed, 0 insertions, 0 deletions