]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix a NULL pointer dereference
authorRuediger Pluem <rpluem@apache.org>
Mon, 25 May 2020 05:50:12 +0000 (05:50 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 25 May 2020 05:50:12 +0000 (05:50 +0000)
commit9b7c98cdee88db74d0c274903310eaf36ca59b7e
tree2d56f0920d70d4e4c946b3657b98d2ba2f3852f6
parentf2fd642c3d8eabfabc4786e7f9fa3585a5c703d1
Fix a NULL pointer dereference

* server/scoreboard.c (ap_increment_counts): In certain cases like certain
  invalid requests r->method might be NULL here. r->method_number defaults
  to M_GET and hence is M_GET in these cases.

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