-*- coding: utf-8 -*-
Changes with Apache 2.5.0
+ *) mod_dav: Do not segfault on PROPFIND with a zero length DBM.
+ PR 52559 [Diego Santa Cruz <diego.santaCruz spinetix.com>]
+
*) mod_dav: Do not fail PROPPATCH when prop namespace is not known.
PR 52559 [Diego Santa Cruz <diego.santaCruz spinetix.com>]
if (propdb->db != NULL) {
dav_xmlns_info *xi = dav_xmlns_create(propdb->p);
dav_prop_name name;
+ dav_error *err;
/* define (up front) any namespaces the db might need */
(void) (*db_hooks->define_namespaces)(propdb->db, xi);
/* get the first property name, beginning the scan */
- (void) (*db_hooks->first_name)(propdb->db, &name);
- while (name.ns != NULL) {
+ err = (*db_hooks->first_name)(propdb->db, &name);
+ while (!err && name.ns) {
/*
** We also look for <DAV:getcontenttype> and
}
if (what == DAV_PROP_INSERT_VALUE) {
- dav_error *err;
int found;
if ((err = (*db_hooks->output_value)(propdb->db, &name,
}
next_key:
- (void) (*db_hooks->next_name)(propdb->db, &name);
+ err = (*db_hooks->next_name)(propdb->db, &name);
}
/* all namespaces have been entered into xi. generate them into