]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1864868 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 7 Jul 2020 16:56:32 +0000 (16:56 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 7 Jul 2020 16:56:32 +0000 (16:56 +0000)
commitbf7560b60ba7712875e3685b02b5ba851751037d
treebee84c563ee8c43b5021e5450c044d1e6d01dc6b
parent0f479bb6eabccf640fc62c7870a352b6c2092064
Merge r1864868 from trunk:

Fix a signed/unsigned comparison that can never match.

-1 is a valid length value (for socket, pipe and cgi buckets for example)
All path I've checked cast the -1 to (apr_size_t) in order for the comparison to work. So do it as well here.

This has been like that in trunk since r708144, about 11 years ago, so I assume that it is not really an issue.

Spotted by gcc 9.1 and -Wextra
Submitted by: jailletc36
Reviewed by: jailletc36, minfrin, jim

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