In function dav_fs_get_parent_resource(), all the return values are NULL. However, it seems like this if-condition below indicates an error path: if ((tv != APR_SUCESS && rv != APR_ERELATIVE) || !testpath || !*testpah) { *result_parent = NULL; return NULL; } Should we return some value (dav_error) to indicate this situation? Thanks.
The comment before this test is: > /* If given resource is root, then there is no parent. > * Unless we can retrieve the filepath root, this is > * intendend to fail. If we split the root and > * no path info remains, then we also fail. > */ I don't know this part of the code well enough, but the comment looks in line with the code. Why do you think an error should be returned? Can you elaborate?
Closed because of lack of activity on this report. There is no evidence of a bug here. Feel free to re-open if needed.