]> granicus.if.org Git - neomutt/commit
Prevent mailto parsing buffer overflow by ignoring too long header.
authorRocco Rutte <pdmef@gmx.net>
Sun, 4 Nov 2007 17:14:25 +0000 (18:14 +0100)
committerRocco Rutte <pdmef@gmx.net>
Sun, 4 Nov 2007 17:14:25 +0000 (18:14 +0100)
commitb2612e5cb1e89b9abf896060854b97d93fcb60e8
tree38e0497ca7825e4896ab81f32e002f18ce8df17f
parenta15df155269f231bb16b3db775a67d0c842844b2
Prevent mailto parsing buffer overflow by ignoring too long header.
If they're longer than our buffer, we can't turn it into a header to
be parsed by mutt_parse_rfc822_line() anyway, so we bail out in this
case. Also make main() catchup mailto parsing errors. Closes #2980.
main.c
url.c