httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45085] New: A potential bug discovered by a static program analysis approach
Date Wed, 28 May 2008 05:02:23 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45085

           Summary: A potential bug discovered by a static program analysis
                    approach
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rxc92@case.edu


File Name: /server/util_md5.c
Function Nam: ap_md5digest()
Buggy Code:

   169:  apr_file_seek(infile, APR_SET, &offset);
   170:  return ap_md5contextTo64(p, &context);

File Name: /support/htcacheclean.c
Function Nam: process_dir()
Buggy Code:

   461:  apr_file_seek(fd, APR_SET, &offset);


Description: A rule discovered by our static program analysis approach
indicates that an error occurs if apr_file_seek() outputs “!APR_SUCCESS”.
The outputs of apr_file_seek() are not checked in the above code.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message