diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-08 08:11:29 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-08 08:11:29 +0800 |
commit | 511e3153b986168e7dd189b82b1878bd43b49981 (patch) | |
tree | 1cd0b896cb60e25ed5ea6cf3a8944b26b4ed4f1c /camel/ChangeLog | |
parent | a3648b5912435cb22c82cf06e137592f1100b135 (diff) | |
download | gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar.gz gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar.bz2 gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar.lz gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar.xz gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.tar.zst gsoc2013-evolution-511e3153b986168e7dd189b82b1878bd43b49981.zip |
Oops - outbuf pointed to alloca'd memory but we were g_free'ing it after
2002-08-07 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_encode_param): Oops - outbuf pointed
to alloca'd memory but we were g_free'ing it after using
it. Instead use g_malloc for this outbuf buffer since it may be
kinda large. Also don't depend on a single byte to nul-terminate
the outbuf buffer so as to be safe with charsets such as UCS2 and
UCS4, instead keep a pointer to the end of the buffer.
svn path=/trunk/; revision=17737
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r-- | camel/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 12b2382d4f..2a102d280d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,12 @@ 2002-08-07 Jeffrey Stedfast <fejj@ximian.com> + * camel-mime-utils.c (header_encode_param): Oops - outbuf pointed + to alloca'd memory but we were g_free'ing it after using + it. Instead use g_malloc for this outbuf buffer since it may be + kinda large. Also don't depend on a single byte to nul-terminate + the outbuf buffer so as to be safe with charsets such as UCS2 and + UCS4, instead keep a pointer to the end of the buffer. + * providers/imap/camel-imap-folder.c (parse_fetch_response): Only add the stream to the gdatalist if it is non-NULL. |