Fix various buffer overruns in fmt_scan.c; the bulk of this is passing
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sun, 6 Nov 2005 21:54:40 +0000 (21:54 +0000)
committerPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sun, 6 Nov 2005 21:54:40 +0000 (21:54 +0000)
commit6630f05d0a6d631c9ed2edfef9951df892287794
tree745425f4024958a547538836acc785121432b613
parentd2f54bbc4ef071a92508fa26d5d4641a3f2215c1
Fix various buffer overruns in fmt_scan.c; the bulk of this is passing
buffer length through to decode_rfc2047() and having that function do
sufficient bookkeeping to avoid running off the end of the buffer.
ChangeLog
h/prototypes.h
sbr/fmt_rfc2047.c
sbr/fmt_scan.c