Fix infinite loop (bug #50083)

This commit is contained in:
wbaumann 2017-01-21 19:02:05 +00:00
parent 2c5c8bc3aa
commit 182e29206c
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,10 @@
ChangeLog for davfs2 ChangeLog for davfs2
-------------------- --------------------


2017-01-21 Werner Baumann (werner.baumann@onlinehome.de)
* cache.c, is_busy:
Fix infinite loop (bug #50083).

2016-08-18 Werner Baumann (werner.baumann@onlinehome.de) 2016-08-18 Werner Baumann (werner.baumann@onlinehome.de)
* webdav.c, get_cookies: * webdav.c, get_cookies:
Fix cookie parsing error (Debian Bug#834615, Thanks Fix cookie parsing error (Debian Bug#834615, Thanks

View File

@ -2385,6 +2385,7 @@ is_busy(const dav_node *node)
while (child) { while (child) {
if (is_busy(child)) if (is_busy(child))
return 1; return 1;
child = child->next;
} }


return (is_reg(node) && is_open_write(node)); return (is_reg(node) && is_open_write(node));