]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_rewrite: Fix a possible NULL pointer dereference in hook_uri2file
authorJoe Orton <jorton@apache.org>
Thu, 6 Jul 2023 12:20:37 +0000 (12:20 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 6 Jul 2023 12:20:37 +0000 (12:20 +0000)
commit0de661765b63037c34f4aaea4bc6adc7b2524923
tree4e4898c001be447b80f9d38018d3f67d6bffa8db
parent88db699b4d5935d8dcce4daf90b1aa2b28b2a48b
mod_rewrite: Fix a possible NULL pointer dereference in hook_uri2file

is_absolute_uri() dereferences r->filename in the function body, but
there is no check if r->filename == NULL before.

Submitted by: Luboš Uhliarik <luhliari redhat.com>
Github: closes #355

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