<options> tag, as defined by RFC 3253, and we don't recognize the
option as a builtin one, then we pass that off to the versioning hooks
of the DAV provider for it to process. However, we neglected to check
whether the provider actually *had* versioning hooks first.
The fix: simply check for versioning hooks before using them.
Problem found by: Ryan Bloom <rbb@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96903
13f79535-47bb-0310-9956-
ffa450edef68
return dav_handle_err(r, err, NULL);
/* if unrecognized option, pass to versioning provider */
- if (!core_option) {
+ if (!core_option && vsn_hooks != NULL) {
if ((err = (*vsn_hooks->get_option)(resource, elem, &body))
!= NULL) {
return dav_handle_err(r, err, NULL);