From 66b55cd2834f73ba794a5d74deafa2919d5b5c51 Mon Sep 17 00:00:00 2001 From: Greg Stein Date: Mon, 10 Jul 2000 06:56:29 +0000 Subject: [PATCH] liveprop namespace indexes are 1-based. make room in the marks array. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85802 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/main/props.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dav/main/props.c b/modules/dav/main/props.c index 6db4719c8a..535bea20a2 100644 --- a/modules/dav/main/props.c +++ b/modules/dav/main/props.c @@ -1202,7 +1202,7 @@ dav_get_props_result dav_get_props(dav_propdb *propdb, ap_xml_doc *doc) marks_input = ap_pcalloc(propdb->p, propdb->ns_xlate->nelts); /* same for the liveprops */ - marks_liveprop = ap_pcalloc(propdb->p, dav_get_liveprop_ns_count()); + marks_liveprop = ap_pcalloc(propdb->p, dav_get_liveprop_ns_count() + 1); for (elem = elem->first_child; elem; elem = elem->next) { dav_datum key; -- 2.40.0