https://bz.apache.org/bugzilla/show_bug.cgi?id=69358

            Bug ID: 69358
           Summary: Potential null pointer dereference in
                    mod_cache_socache.c:open_entity
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
          Assignee: bugs@httpd.apache.org
          Reporter: zhora.budyukin...@gmail.com
  Target Milestone: ---

Created attachment 39886
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39886&action=edit
Code samples containing the condition structure and the 'fail' label where a
dereference may occur.

Null pointer is assigned to 'nkey' variable in line 462.
If condition in line 529 is false and the following condition in line 588 is
true, a jump to the 'fail' label is executed, skipping non-null assignments to
'nkey' in other conditional blocks. This way, it may be dereferenced in line
705.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to