]> granicus.if.org Git - apache/commit
Oh, don't you love buffer overflows?
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 20 Oct 2001 18:27:15 +0000 (18:27 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 20 Oct 2001 18:27:15 +0000 (18:27 +0000)
commit456b51f0d5b836858c6866488e1c839b0a9d45a8
treedf6a036c292bfa9ab3f9501e8dc37e275501c527
parent33bddf44594ca59a3aa98744471e0120168b6414
Oh, don't you love buffer overflows?
We need to allocate storage space for the terminating NULL AND the extra /
we may tack on to the string at some point.

How in the hell the stars were aligned for this to corrupt newv via the
strcat at line 580 is unknown.

Resolves segfault seen on daedalus.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91607 13f79535-47bb-0310-9956-ffa450edef68
server/request.c