[evolution-data-server] Bug 733733 - Crash due to write out of buffer in CamelMimeFilterToHTML
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 733733 - Crash due to write out of buffer in CamelMimeFilterToHTML
- Date: Mon, 1 Sep 2014 08:06:27 +0000 (UTC)
commit bc4f94f69739fcf8a43f19dadd104ca43a9b8835
Author: Milan Crha <mcrha redhat com>
Date: Mon Sep 1 10:06:03 2014 +0200
Bug 733733 - Crash due to write out of buffer in CamelMimeFilterToHTML
camel/camel-mime-filter-tohtml.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c
index e967d2b..c46ab12 100644
--- a/camel/camel-mime-filter-tohtml.c
+++ b/camel/camel-mime-filter-tohtml.c
@@ -443,7 +443,7 @@ html_convert (CamelMimeFilter *mime_filter,
outptr = g_stpcpy (outptr, "<br>");
}
- *outptr++ = '\n';
+ outptr = append_string_verbatim (mime_filter, "\n", outptr, &outend);
}
start = ++inptr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]