]> git.pld-linux.org Git - packages/apache1-mod_dav.git/commitdiff
- fix for possible format string problem
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Feb 2003 14:25:42 +0000 (14:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (doesn't affect directly mod_dav, but can lead to security hole in
   connection with some other programs - e.g. Oracle 9i)

Changed files:
    apache-mod_dav-format.patch -> 1.1
    apache1-mod_dav-format.patch -> 1.1

apache-mod_dav-format.patch [new file with mode: 0644]
apache1-mod_dav-format.patch [new file with mode: 0644]

diff --git a/apache-mod_dav-format.patch b/apache-mod_dav-format.patch
new file mode 100644 (file)
index 0000000..890eb8f
--- /dev/null
@@ -0,0 +1,11 @@
+--- mod_dav-1.0.3-1.3.6/mod_dav.c.orig Sun Sep 23 00:22:39 2001
++++ mod_dav-1.0.3-1.3.6/mod_dav.c      Wed Feb 26 15:07:31 2003
+@@ -2298,7 +2298,7 @@
+       if (lookup.err.status == HTTP_BAD_REQUEST) {
+           /* This supplies additional information for the default message. */
+           ap_log_rerror(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, r,
+-                        lookup.err.desc);
++                        "%s", lookup.err.desc);
+           return HTTP_BAD_REQUEST;
+       }
diff --git a/apache1-mod_dav-format.patch b/apache1-mod_dav-format.patch
new file mode 100644 (file)
index 0000000..890eb8f
--- /dev/null
@@ -0,0 +1,11 @@
+--- mod_dav-1.0.3-1.3.6/mod_dav.c.orig Sun Sep 23 00:22:39 2001
++++ mod_dav-1.0.3-1.3.6/mod_dav.c      Wed Feb 26 15:07:31 2003
+@@ -2298,7 +2298,7 @@
+       if (lookup.err.status == HTTP_BAD_REQUEST) {
+           /* This supplies additional information for the default message. */
+           ap_log_rerror(APLOG_MARK, APLOG_ERR | APLOG_NOERRNO, r,
+-                        lookup.err.desc);
++                        "%s", lookup.err.desc);
+           return HTTP_BAD_REQUEST;
+       }
This page took 0.163245 seconds and 4 git commands to generate.