summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2019-0220-3.patch
blob: 7b3ff6fb1cfb328c5a43375b25572edd587cd390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 3451fc2bf8708b0dc8cd6a7d0ac0fe5b6401befc Mon Sep 17 00:00:00 2001
From: Eric Covener <covener@apache.org>
Date: Tue, 19 Mar 2019 18:01:21 +0000
Subject: [PATCH]   *) maintainer mode fix for util.c no2slash_ex      trunk
 patch: http://svn.apache.org/r1855755      2.4.x patch svn merge -c 1855755
 ^/httpd/httpd/trunk .      +1: covener, rpluem, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1855853 13f79535-47bb-0310-9956-ffa450edef68
---
 STATUS        | 6 ------
 server/util.c | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

#diff --git a/STATUS b/STATUS
#index ffe5d22550c..1f8cb2f7884 100644
#--- a/STATUS
#+++ b/STATUS
#@@ -126,12 +126,6 @@ RELEASE SHOWSTOPPERS:
# PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
#   [ start all new proposals below, under PATCHES PROPOSED. ]
# 
#-  *) maintainer mode fix for util.c no2slash_ex
#-     trunk patch: http://svn.apache.org/r1855755
#-     2.4.x patch svn merge -c 1855755 ^/httpd/httpd/trunk .
#-     +1: covener, rpluem, jim, ylavic
#-
#-
# PATCHES PROPOSED TO BACKPORT FROM TRUNK:
#   [ New proposals should be added at the end of the list ]
# 
diff --git a/server/util.c b/server/util.c
index f3b17f1581e..e0c558cee2d 100644
--- a/server/util.c
+++ b/server/util.c
@@ -566,7 +566,7 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path)
 
     char *d, *s;
 
-    if (!name || !*name) {
+    if (!*name) {
         return;
     }