forked from solene/vger
check for 0 length string in strip_trailing_slash
size_t is unsigned, so if strlen returned 0, path[end] would try to access something unexpected
This commit is contained in:
parent
fa99a06619
commit
f49916a1c2
Loading…
Reference in New Issue