[exim-dev] [Bug 2161] Quoted printable encoding in sieve.c b…

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 2161] Quoted printable encoding in sieve.c broken
https://bugs.exim.org/show_bug.cgi?id=2161

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???


--- Comment #2 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/dc4de9cc8d957738fbe9013715b64c09daf88c22

commit dc4de9cc8d957738fbe9013715b64c09daf88c22
Author:     Phil Pennock <pdp@???>
AuthorDate: Mon Sep 4 20:24:56 2017 -0400
Commit:     Phil Pennock <pdp@???>
CommitDate: Mon Sep 4 20:24:56 2017 -0400


    Fix sieve QP regression from Coverity cleanups


    Fixes: 2161
---
 doc/doc-txt/ChangeLog | 4 ++++
 src/src/sieve.c       | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)


diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog
index c97fdd1..95d3ac6 100644
--- a/doc/doc-txt/ChangeLog
+++ b/doc/doc-txt/ChangeLog
@@ -151,6 +151,10 @@ JH/25 Use one-bit bitfields for flags in the "addr" data
structure.  Previously
 PP/07 GitHub PR 56: Apply MariaDB build fix.
       Patch provided by Jaroslav Å karvada.


+PP/08 Bug 2161: Fix regression in sieve quoted-printable handling introduced
+      during Coverity cleanups [4.87 JH/47]
+      Diagnosis and fix provided by Michael Fischer v. Mollard.
+


 Exim version 4.89
 -----------------
diff --git a/src/src/sieve.c b/src/src/sieve.c
index 635d578..32d9279 100644
--- a/src/src/sieve.c
+++ b/src/src/sieve.c
@@ -291,7 +291,6 @@ for (pass=0; pass<=1; ++pass)
       else
         {        /* encoded char */
         new += sprintf(CS new,"=%02X",ch);
-        new+=3;
         }
       line+=3;
       }


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