created at need, so check for its existence before trying
to peek into it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86047
13f79535-47bb-0310-9956-
ffa450edef68
(r->allowed & (1 << M_UNLOCK)) ? ", UNLOCK" : "",
", TRACE",
NULL);
- if ((r->allowed & (1 << M_INVALID)) && (r->allowed_xmethods->nelts)) {
+ if ((r->allowed & (1 << M_INVALID))
+ && (r->allowed_xmethods != NULL)
+ && (r->allowed_xmethods->nelts != 0)) {
int i;
char **xmethod = (char **) r->allowed_xmethods->elts;