Commit 343c19d8 authored by Ralf S. Engelschall's avatar Ralf S. Engelschall
Browse files

Fix Berkeley-DB/2.x support in mod_auth_db: The data structures were not

initialized correctly and the db_open() call used an invalid mode
parameter.

Because compare especially this section from db_dbt(3):

| In  order  to ensure compatibility with future releases of DB, all
| fields of the DBT structure that are  not  explic- itly  set should be
| initialized to 0 before the first time the structure is used.  Do this
| by declaring the structure external  or  static,  or by calling the C
| library routine bzero(3) or memset(3).

Submitted by: Ron Klatchko <ron@ckm.ucsf.edu>
PR: 3171


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82305 13f79535-47bb-0310-9956-ffa450edef68
parent 9d83b5c6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment