Blame SOURCES/httpd-2.4.34-CVE-2021-34798.patch

879b17
diff --git a/server/scoreboard.c b/server/scoreboard.c
879b17
index 4343eba..46e3cad 100644
879b17
--- a/server/scoreboard.c
879b17
+++ b/server/scoreboard.c
879b17
@@ -376,7 +376,7 @@ AP_DECLARE(void) ap_increment_counts(ap_sb_handle_t *sb, request_rec *r)
879b17
     if (pfn_ap_logio_get_last_bytes != NULL) {
879b17
         bytes = pfn_ap_logio_get_last_bytes(r->connection);
879b17
     }
879b17
-    else if (r->method_number == M_GET && r->method[0] == 'H') {
879b17
+    else if (r->method_number == M_GET && r->method && r->method[0] == 'H') {
879b17
         bytes = 0;
879b17
     }
879b17
     else {