Mailing List Archive

[Bug 1240] Newline in -tls_peerdn corrupts spool file
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1240

Phil Pennock <pdp@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED




--- Comment #1 from Phil Pennock <pdp@exim.org> 2012-04-27 10:43:20 ---
Proposed fix at:

http://git.exim.org/users/pdp/exim.git/commitdiff/c7396ac5dedeca5d791113782ae72b4bb67692e3

Change has not been tested (it's almost 6am here), it compiles and that's it.
It needs a test-case and some actual testing.

(Branch "bug_1240":
http://git.exim.org/users/pdp/exim.git/shortlog/refs/heads/bug_1240 )


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 1240] Newline in -tls_peerdn corrupts spool file [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1240

Git Commit <git@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |git@exim.org




--- Comment #2 from Git Commit <git@exim.org> 2012-04-28 10:17:05 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/c7396ac5dedeca5d791113782ae72b4bb67692e3

commit c7396ac5dedeca5d791113782ae72b4bb67692e3
Author: Phil Pennock <pdp@exim.org>
AuthorDate: Fri Apr 27 02:39:59 2012 -0700
Commit: Phil Pennock <pdp@exim.org>
CommitDate: Fri Apr 27 02:39:59 2012 -0700

handle \n in tls_peerdn for spool files.

fixes bug 1240.
----
src/src/functions.h | 1 +
src/src/spool_in.c | 2 +-
src/src/spool_out.c | 2 +-
src/src/string.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 72 insertions(+), 2 deletions(-)


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##