[mod_webdav] fix crash if stat fails, not ENOENT
commit3faf04284729e0653f8994b018d651b10da524a3
authorMarco Angaroni <marco.angaroni@italtel.com>
Tue, 24 Oct 2017 13:50:58 +0000 (24 15:50 +0200)
committerGlenn Strauss <gstrauss@gluelogic.com>
Thu, 26 Oct 2017 01:21:04 +0000 (25 21:21 -0400)
tree7bb707940f8cd2cd54265be7bf7f304350b5a2a5
parent6a17133a75754118960eabaf21d1d078f0face8c
[mod_webdav] fix crash if stat fails, not ENOENT

fix crash in mod_webdav_subrequest_handler_huge()
when stat_cache_get_entry() returns HANDLER_ERROR
but errno is not ENOENT

x-ref:
  "fix crash in mod_webdav_subrequest_handler_huge()"
  https://github.com/lighttpd/lighttpd1.4/pull/86

github: closes #86
src/mod_webdav.c