From d31ee225f1bf42d62dc6c8e897fbd5351a804c25 Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 28 Oct 2002 09:34:06 +0000 Subject: [PATCH] Buggy messages with empty mime-parts (size=0) causes incorrect parsing. Adding case '0': solved the problem. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4047 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime/Message.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/class/mime/Message.class.php b/class/mime/Message.class.php index 4485522c..3e59af70 100644 --- a/class/mime/Message.class.php +++ b/class/mime/Message.class.php @@ -284,6 +284,7 @@ class Message { $arg_s = $msg->parseLiteral($read, $i); ++$arg_no; break; + case '0': case is_numeric($read{$i}): /* process integers */ if ($read{$i} == ' ') { break; } -- 2.25.1