[exim-dev] [Bug 1478] New: Two width bugs

Góra strony
Delete this message
Reply to this message
Autor: David Binderman
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 1478] New: Two width bugs
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1478
           Summary: Two width bugs
           Product: Exim
           Version: 4.82
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
        AssignedTo: nigel@???
        ReportedBy: dcb314@???
                CC: exim-dev@???



I just ran the static analysis tool cppcheck over
the source code of exim-4.82

It said many things including

[os.c:115]: (error) Width 20 given in format string (no. 13) is larger than
destination buffer 'devname[20]', use %19s to prevent overflowing it.
[malware.c:1376]: (error) Width 64 given in format string (no. 1) is larger
than destination buffer 'tcp_addr[64]', use %63s to prevent overflowing it.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email