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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to