[exim-dev] [Bug 2161] New: Quoted printable encoding in siev…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2161] New: Quoted printable encoding in sieve.c broken
https://bugs.exim.org/show_bug.cgi?id=2161

            Bug ID: 2161
           Summary: Quoted printable encoding in sieve.c broken
           Product: Exim
           Version: 4.89
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Filters
          Assignee: nigel@???
          Reporter: lists@???
                CC: exim-dev@???


If there is a special char in a reason string for a sieve vaction the response
will break at that character. The reason is a change in

https://git.exim.org/exim.git/commitdiff/8d468c4c169a7519d5b172cc049b1d8cc7b1c343

       else
-        {
-        sprintf(CS new,"=%02X",ch);
+        {              /* encoded char */
+        new += sprintf(CS new,"=%02X",ch);
         new+=3;
         }


The line "new+=3 "should be deleted as 3 is the return value of sprintf is 3,
so since this change the pointer new will move 6 bytes forward instead of 3.

--
You are receiving this mail because:
You are on the CC list for the bug.