1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix use after free bug in http-neon method.

This commit is contained in:
Alexander Nedotsukov 2006-01-26 12:46:01 +00:00
parent 93d21adc91
commit 05ae1dd7fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154510
4 changed files with 44 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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

View File

@ -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;
}