Skip to content

Commit

Permalink
Fixed PROPFIND filename reallocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Dec 16, 2018
1 parent 9979c8e commit 186faa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx_http_dav_ext_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ ngx_http_dav_ext_propfind(ngx_http_request_t *r, ngx_uint_t props)
}

last = ngx_cpystrn(filename, path.data, path.len + 1);
*last++ = '/';
}

ngx_cpystrn(last, name.data, name.len + 1);
Expand Down

0 comments on commit 186faa6

Please sign in to comment.