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

Top Page

Reply to this message
Author: admin
To: exim-dev
Subject: [exim-dev] [Bug 2450] New: exim-4.92.3/src/pdkim/signing.c:415: bad error checking ?

            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.