Improved the depth calculation in sanitize_path() so that it properly
authorWayne Davison <wayned@samba.org>
Sun, 23 May 2004 23:46:56 +0000 (23:46 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 23 May 2004 23:46:56 +0000 (23:46 +0000)
commitf9e5a0cde204b56a4dc77eae156c162a72f6d5a9
tree88add0b36848a97cc32540e265ddb4f7c6909f94
parentead751c62b8b1fe733fcf8c7402912519844bb2a
Improved the depth calculation in sanitize_path() so that it properly
handles a trailing slash, a leading slash, and an empty string.
util.c