https://bugs.exim.org/show_bug.cgi?id=2204

            Bug ID: 2204
           Summary: exim-4.89.1/src/pdkim/rsa.c:301: poor sanity checking
                    ?
           Product: Exim
           Version: 4.89
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

exim-4.89.1/src/pdkim/rsa.c:301]: (style) Checking if unsigned variable
'der.len=b64decode(s1,&der.data)' is less than zero.

Source code is

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

Suggest sanity check return value from function first, then put it
into an unsigned variable.

-- 
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