[exim-dev] [Bug 2450] New: exim-4.92.3/src/pdkim/signing.c:4…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2450] New: exim-4.92.3/src/pdkim/signing.c:415: bad error checking ?
https://bugs.exim.org/show_bug.cgi?id=2450

            Bug ID: 2450
           Summary: exim-4.92.3/src/pdkim/signing.c:415: bad error
                    checking ?
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: unallocated@???
          Reporter: dcb314@???
                CC: exim-dev@???


exim-4.92.3/src/pdkim/signing.c:415:42: style: Checking if unsigned expression
'der.len=b64decode(s1,&der.data)' is less than zero. [unsignedLessThanZero]

Source code is

if ((der.len = b64decode(s1, &der.data)) < 0)

Suggest sanity check return value from function before assigning it
into an unsigned field.

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