]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
*) core: make ap_escape_quotes() work correctly on strings
authorYann Ylavic <ylavic@apache.org>
Tue, 24 May 2022 08:55:16 +0000 (08:55 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 24 May 2022 08:55:16 +0000 (08:55 +0000)
commit229dc3ac47e0858a0b67227fa878a60f09ee5293
treec089823dfa73e2a53e9c1b2aba02bcd3181c56f0
parent394b1ba076e8edba1386cfce95c0c75820a60f66
*) core: make ap_escape_quotes() work correctly on strings
   with more than MAX_INT/2 characters, counting quotes double.
   Credit to <generalbugs@zippenhop.com> for finding this.

*) core: improved checks in ap_escape_quotes() for
   extra long strings (or resulting strings) that
   exceed ptrdiff_t ranges.

Merge r1899609, r1899905 from trunk.
Reviewed by: icing, rpluem, ylavic
Submitted by: icing, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1901196 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/util.c