aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2006-01-26 20:46:01 +0800
committerbland <bland@FreeBSD.org>2006-01-26 20:46:01 +0800
commit34523135de629f5c82398dad1189f44cc98ca478 (patch)
tree0d1d7abebdf853479c0b1d52d7e1cffd11bf25c7 /devel
parent93dfd7b2eee79b93510e57a8ca569a012ac5f6cd (diff)
downloadfreebsd-ports-graphics-34523135de629f5c82398dad1189f44cc98ca478.tar.gz
freebsd-ports-graphics-34523135de629f5c82398dad1189f44cc98ca478.tar.zst
freebsd-ports-graphics-34523135de629f5c82398dad1189f44cc98ca478.zip
Fix use after free bug in http-neon method.
Diffstat (limited to 'devel')
-rw-r--r--devel/gnome-vfs/Makefile1
-rw-r--r--devel/gnome-vfs/files/patch-modules__http-neon-method.c21
-rw-r--r--devel/gnomevfs2/Makefile1
-rw-r--r--devel/gnomevfs2/files/patch-modules__http-neon-method.c21
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
index d5b4fcd7248..0fb5ae80e53 100644
--- a/devel/gnome-vfs/Makefile
+++ b/devel/gnome-vfs/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.12.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.12
diff --git a/devel/gnome-vfs/files/patch-modules__http-neon-method.c b/devel/gnome-vfs/files/patch-modules__http-neon-method.c
new file mode 100644
index 00000000000..77e14080f5b
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-modules__http-neon-method.c
@@ -0,0 +1,21 @@
+--- modules/http-neon-method.c.orig Wed Jan 25 23:15:42 2006
++++ modules/http-neon-method.c Wed Jan 25 23:17:47 2006
+@@ -1908,9 +1908,7 @@
+ }
+ }
+
+-
+ result = resolve_result (res, req);
+- ne_request_destroy (req);
+
+ if (result == GNOME_VFS_OK) {
+ const char *name;
+@@ -1929,6 +1927,8 @@
+ }
+
+ }
++
++ ne_request_destroy (req);
+
+ return result;
+ }
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index d5b4fcd7248..0fb5ae80e53 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnomevfs2
PORTVERSION= 2.12.2
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-vfs/2.12
diff --git a/devel/gnomevfs2/files/patch-modules__http-neon-method.c b/devel/gnomevfs2/files/patch-modules__http-neon-method.c
new file mode 100644
index 00000000000..77e14080f5b
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-modules__http-neon-method.c
@@ -0,0 +1,21 @@
+--- modules/http-neon-method.c.orig Wed Jan 25 23:15:42 2006
++++ modules/http-neon-method.c Wed Jan 25 23:17:47 2006
+@@ -1908,9 +1908,7 @@
+ }
+ }
+
+-
+ result = resolve_result (res, req);
+- ne_request_destroy (req);
+
+ if (result == GNOME_VFS_OK) {
+ const char *name;
+@@ -1929,6 +1927,8 @@
+ }
+
+ }
++
++ ne_request_destroy (req);
+
+ return result;
+ }