• Kim Vandry's avatar
    Fix string overrun bugs in nvp.c · 1305fc13
    Kim Vandry authored
    Previously, names and values that exceeded 256 bytes in length would
    smash the stack during parsing headers like Content-Foo: thing; key=val
    Now we copy these tokens after each one is collected instead of
    character-by-character as we go, so we avoid using fixed-size buffers.
    
    Fixes rc0/mairix#7, Fixes rc0/mairix#5, Fixes rc0/mairix#14
    1305fc13
Name
Last commit
Last update
dfasyn Loading commit data...
old_docs Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
ACKNOWLEDGEMENTS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
configure Loading commit data...
dates.c Loading commit data...
dates.h Loading commit data...
datescan.nfa Loading commit data...
db.c Loading commit data...
dirscan.c Loading commit data...
dotlock.c Loading commit data...
dotmairixrc.eg Loading commit data...
dumper.c Loading commit data...
expandstr.c Loading commit data...
from.h Loading commit data...
fromcheck.nfa Loading commit data...
glob.c Loading commit data...
hash.c Loading commit data...
imap.c Loading commit data...
imap.h Loading commit data...
imapinterface.c Loading commit data...
imapinterface.h Loading commit data...
mairix.1 Loading commit data...
mairix.c Loading commit data...
mairix.h Loading commit data...
mairix.spec.sample Loading commit data...
mairixrc.5 Loading commit data...
make_release Loading commit data...
mbox.c Loading commit data...
md5.c Loading commit data...
md5.h Loading commit data...
memmac.h Loading commit data...
mkversion Loading commit data...
nvp.c Loading commit data...
nvp.h Loading commit data...
nvp.nfa Loading commit data...
nvptypes.h Loading commit data...
reader.c Loading commit data...
reader.h Loading commit data...
rfc822.c Loading commit data...
search.c Loading commit data...
stats.c Loading commit data...
tok.c Loading commit data...
writer.c Loading commit data...