[gmime] Oops, when checking From boundaries, don't do the lwsp check
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Oops, when checking From boundaries, don't do the lwsp check
- Date: Thu, 8 Aug 2013 13:01:33 +0000 (UTC)
commit 0ab8dc23ff39e5bfb7c951fa2b260dde604f9b1f
Author: Jeffrey Stedfast <fejj gnome org>
Date: Thu Aug 8 09:01:00 2013 -0400
Oops, when checking From boundaries, don't do the lwsp check
gmime/gmime-parser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gmime/gmime-parser.c b/gmime/gmime-parser.c
index 3012ad1..720866a 100644
--- a/gmime/gmime-parser.c
+++ b/gmime/gmime-parser.c
@@ -1371,6 +1371,9 @@ is_boundary (const char *text, size_t len, const char *boundary, size_t boundary
if (strncmp (text, boundary, boundary_len) != 0)
return FALSE;
+ if (!strncmp (text, "From ", 5))
+ return TRUE;
+
/* the boundary may be optionally followed by linear whitespace */
while (inptr < inend) {
if (!is_lwsp (*inptr))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]