]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix a cppcheck warning.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 17 Aug 2018 16:39:04 +0000 (16:39 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 17 Aug 2018 16:39:04 +0000 (16:39 +0000)
commit7f558e5b7635fc12eb8f96640bf2cbb16c0292b3
tree5832e163f77b7d3fe80c0a20a6b8234f63f06a16
parent4bfdeca8e2c16b76cd244547a2a100aabc42c0ca
Fix a cppcheck warning.

'ap_unescape_urlencoded()' suggests that NULL can be passed to 'unescape_url()'.
So avoid a potential 'strchr(NULL, ...)' which is an undefined behavior.

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