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:
parent
93d21adc91
commit
05ae1dd7fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154510
@ -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
|
||||
|
21
devel/gnome-vfs/files/patch-modules__http-neon-method.c
Normal file
21
devel/gnome-vfs/files/patch-modules__http-neon-method.c
Normal 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;
|
||||
}
|
@ -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
|
||||
|
21
devel/gnomevfs2/files/patch-modules__http-neon-method.c
Normal file
21
devel/gnomevfs2/files/patch-modules__http-neon-method.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user