FreeBSD Bugzilla – Attachment 58923 Details for
Bug 88716
[patch] textproc/libextractor fix double free() bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libextractor_free.diff
libextractor_free.diff (text/plain), 1.07 KB, created by
Vasil Dimov
on 2005-11-09 11:50:13 UTC
(
hide
)
Description:
libextractor_free.diff
Filename:
MIME Type:
Creator:
Vasil Dimov
Created:
2005-11-09 11:50:13 UTC
Size:
1.07 KB
patch
obsolete
>diff -urN --exclude=CVS libextractor.orig/Makefile libextractor/Makefile >--- libextractor.orig/Makefile Sun Nov 6 02:20:45 2005 >+++ libextractor/Makefile Wed Nov 9 12:55:44 2005 >@@ -7,7 +7,7 @@ > > PORTNAME= libextractor > PORTVERSION= 0.5.6a >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= textproc > MASTER_SITES= http://gnunet.org/libextractor/download/ \ > ${MASTER_SITE_GNU} >diff -urN --exclude=CVS libextractor.orig/files/patch-src::main::extractor.c libextractor/files/patch-src::main::extractor.c >--- libextractor.orig/files/patch-src::main::extractor.c Thu Jan 1 02:00:00 1970 >+++ libextractor/files/patch-src::main::extractor.c Wed Nov 9 12:02:48 2005 >@@ -0,0 +1,14 @@ >+--- src/main/extractor.c.orig Wed Nov 9 11:57:54 2005 >++++ src/main/extractor.c Wed Nov 9 11:58:31 2005 >+@@ -246,8 +246,10 @@ >+ >+ void __attribute__ ((destructor)) le_ltdl_fini(void) { >+ lt_dlsetsearchpath(old_dlsearchpath); >+- if (old_dlsearchpath != NULL) >++ if (old_dlsearchpath != NULL) { >+ free(old_dlsearchpath); >++ old_dlsearchpath = NULL; >++ } >+ #ifdef MINGW >+ ShutdownWinEnv(); >+ #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 88716
: 58923