Red Hat Bugzilla – Bug 150087
useage of mod_auth_pgsql causes segfaults in httpd
Last modified: 2007-11-30 17:11:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6)
Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1
Description of problem:
We have multiple machines using this module for authentification.
On some it worked flawless and on some it caused segmentation faults
all the time, and on some it produced log messages like
mod_auth_pgsql: Password for user (null) not found (PG-Authoritative)
and did not work.
Inspection of the code showed that the module accessed the "user"
field of the request structure passed to the module before having
ensured, that this field is initialized. In some setups this field
might have been initialized by a different module before, so this
bug does not always occur.
A patch that fixes the problem is attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Depends on the machine.
Actual Results: Crashes of http
Expected Results: No Crash
Created attachment 111565 [details]
Patch that removes the segmentation faults
Thanks for the patch.
*** Bug 123216 has been marked as a duplicate of this bug. ***
Fixed in current updates, thanks for the patch.