]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix segfault in mod_alias introduced in r1132494.
authorRainer Jung <rjung@apache.org>
Sun, 30 Mar 2014 18:20:09 +0000 (18:20 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 30 Mar 2014 18:20:09 +0000 (18:20 +0000)
commite3fb9053316324cb956b2bf54ef9370dcb176d67
tree738c62f6686e64e3d63113d8f0d0cc141771b056
parent00e75eba5243c52fa81c4b8a40f3059c79c99bb2
Fix segfault in mod_alias introduced in r1132494.

AliasMatch does not append unmatched parts of the
original URI to the  new URI. So no need to subtract
anything from the new URI length.

The existing code crashed when using
"AliasMatch / /some/thing" and sending a request
with a long URI.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1583175 13f79535-47bb-0310-9956-ffa450edef68
modules/mappers/mod_alias.c