~ubuntu-branches/debian/wheezy/apache2/wheezy

« back to all changes in this revision

Viewing changes to srclib/apr-util/dbm/sdbm/sdbm.c

  • Committer: Package Import Robot
  • Author(s): Stefan Fritsch, Stefan Fritsch, Arno Töll
  • Date: 2012-02-01 21:49:04 UTC
  • mfrom: (0.13.15)
  • Revision ID: package-import@ubuntu.com-20120201214904-nlchebp6wu7z55jw
Tags: 2.2.22-1
[ Stefan Fritsch ]
* New upstream release, urgency medium due to security fixes:
  - Fix CVE-2012-0021: mod_log_config: DoS with '%{cookiename}C' log format
  - Fix CVE-2012-0031: Unprivileged child process could cause the parent to
    crash at shutdown
  - Fix CVE-2012-0053: Exposure of "httpOnly" cookies in code 400 error
    message.
* Move httxt2dbm to apache2-utils
* Adjust debian/control to point to new git repository.

[ Arno Töll ]
* Fix "typo in /etc/apache2/apache2.conf" (Closes: #653801)

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
     * as required by this package. Also set our internal
102
102
     * flag for RDONLY if needed.
103
103
     */
104
 
    if (!(flags & APR_WRITE)) {
 
104
    if (!(flags & APR_FOPEN_WRITE)) {
105
105
        db->flags |= SDBM_RDONLY;
106
106
    }
107
107
 
111
111
     * an apr_file_t, in case it's ever introduced, and set
112
112
     * our own flag.
113
113
     */
114
 
    if (flags & APR_SHARELOCK) {
 
114
    if (flags & APR_FOPEN_SHARELOCK) {
115
115
        db->flags |= SDBM_SHARED;
116
 
        flags &= ~APR_SHARELOCK;
 
116
        flags &= ~APR_FOPEN_SHARELOCK;
117
117
    }
118
118
 
119
 
    flags |= APR_BINARY | APR_READ;
 
119
    flags |= APR_FOPEN_BINARY | APR_FOPEN_READ;
120
120
 
121
121
    /*
122
122
     * open the files in sequence, and stat the dirfile.