[exim-dev] [Bug 2204] New: exim-4.89.1/src/pdkim/rsa.c:301: …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: admin
Data:  
Para: exim-dev
Asunto: [exim-dev] [Bug 2204] New: exim-4.89.1/src/pdkim/rsa.c:301: poor sanity checking ?
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: nigel@???
          Reporter: dcb314@???
                CC: exim-dev@???


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.