aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-17 16:11:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-17 16:11:29 +0800
commitaaaa3be69c5a4f59d1aa4ad4cee2be3de277892b (patch)
tree8496bc039346427748151e5a225d2bc3dcbe69c6 /macros
parente14164702f1e20019996f4bbdf272843538de833 (diff)
downloadgsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar.gz
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar.bz2
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar.lz
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar.xz
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.tar.zst
gsoc2013-evolution-aaaa3be69c5a4f59d1aa4ad4cee2be3de277892b.zip
When extracting a literal string, capture up until the end of the last
2000-11-17 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-utils.c (imap_parse_nstring): When extracting a literal string, capture up until the end of the last line - this we we don't lose any data if the byte count is off. * providers/imap/camel-imap-command.c (imap_read_untagged): Use the byte-read count to decrement the number of bytes left to read rather than using strlen. Not only does this protect against a DoS (embedded NUL chars in the literal string would make strlen inaccurate) but it also improves performace a little. * camel-remote-store.c (remote_recv_line): *Sigh* Return the number of bytes read on success rather than 0. Also don't use camel_stream_buffer_read_line since we can't get an accurate octet count. svn path=/trunk/; revision=6600
Diffstat (limited to 'macros')
0 files changed, 0 insertions, 0 deletions