~ubuntu-branches/debian/sid/apache2/sid

« back to all changes in this revision

Viewing changes to srclib/apr-util/hooks/apr_hooks.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:
243
243
#endif
244
244
    int n;
245
245
 
 
246
    if (!s_aHooksToSort) {
 
247
        s_aHooksToSort = apr_array_make(apr_hook_global_pool, 1, sizeof(HookSortEntry));
 
248
    }
 
249
        
246
250
    for(n=0 ; n < s_aHooksToSort->nelts ; ++n) {
247
251
        HookSortEntry *pEntry=&((HookSortEntry *)s_aHooksToSort->elts)[n];
248
252
        *pEntry->paHooks=sort_hook(*pEntry->paHooks,pEntry->szHookName);
261
265
#endif
262
266
    int n;    
263
267
 
 
268
    if (!s_aHooksToSort) {
 
269
        return;
 
270
    }
 
271
 
264
272
    for(n=0 ; n < s_aHooksToSort->nelts ; ++n) {
265
273
        HookSortEntry *pEntry=&((HookSortEntry *)s_aHooksToSort->elts)[n];
266
274
        *pEntry->paHooks=NULL;