]> granicus.if.org Git - apache/commit
Fix a crasher introduced on June 3.
authorGreg Stein <gstein@apache.org>
Thu, 19 Jun 2003 21:21:15 +0000 (21:21 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 19 Jun 2003 21:21:15 +0000 (21:21 +0000)
commit9b429aa0072db7d23eb7d3ea9397ff0e077e0f25
tree3400bc481f34d728d02ff44ae0ff758efb9ba9be
parentb0770e31130c0c9c2e800f7a39bf18b4b2fb77df
Fix a crasher introduced on June 3.

* mod_dav.c (dav_method_propfind): the PROPFIND request might not have
    a body. Therefore, we cannot dereference 'doc' unconditionally.
    Test it to decide what to pass on to dav_begin_multistatus().

Submitted by: Ben Collins-Sussman <sussman@collab.net>,
              David Waite <mass@akuma.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100308 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/mod_dav.c