diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2006-01-26 12:46:01 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2006-01-26 12:46:01 +0000 |
commit | 05ae1dd7febfbdbef1cd22e2834ab4b1613468e3 (patch) | |
tree | d65082d982ee11dfd2c03bc5b8129981dd0e3a98 /devel/gnome-vfs | |
parent | 93d21adc91d7690c46b033cab64809e45c01bcfd (diff) | |
download | ports-05ae1dd7febfbdbef1cd22e2834ab4b1613468e3.tar.gz ports-05ae1dd7febfbdbef1cd22e2834ab4b1613468e3.zip |
Fix use after free bug in http-neon method.
Notes
Notes:
svn path=/head/; revision=154510
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r-- | devel/gnome-vfs/Makefile | 1 | ||||
-rw-r--r-- | devel/gnome-vfs/files/patch-modules__http-neon-method.c | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile index d5b4fcd72488..0fb5ae80e532 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 000000000000..77e14080f5b0 --- /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; + } |