[exim-dev] [Bug 985] New: pdkim.c may use a string that isn'…

Pàgina inicial
Delete this message
Reply to this message
Autor: Simon Arlott
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 985] New: pdkim.c may use a string that isn't null terminated
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=985
           Summary: pdkim.c may use a string that isn't null terminated
           Product: Exim
           Version: 4.71
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: high
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: bugzilla.exim.simon@???
                CC: exim-dev@???



Created an attachment (id=381)
--> (http://bugs.exim.org/attachment.cgi?id=381)
[PATCH] pdkim: null terminate new strings

If sig->headers is NULL while signing, headernames->str is never
null terminated in pdkim_feed_finish().

Instead of attempting to fix all existing/future uses of empty
strings, null terminate all new strings in pdkim_strnew().


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