[vlc-commits] Contrib: fix crash in CDDB on Windows
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 2 15:57:44 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 2 15:56:00 2015 +0100| [86cb579544e1aa85f6563a3ae736eacc95519f0c] | committer: Jean-Baptiste Kempf
Contrib: fix crash in CDDB on Windows
Close #13465
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86cb579544e1aa85f6563a3ae736eacc95519f0c
---
contrib/src/cddb/getenv-crash.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/src/cddb/getenv-crash.patch b/contrib/src/cddb/getenv-crash.patch
index 48888ef..577db8f 100644
--- a/contrib/src/cddb/getenv-crash.patch
+++ b/contrib/src/cddb/getenv-crash.patch
@@ -1,6 +1,6 @@
--- libcddb/lib/cddb_conn.c 2006-10-15 13:53:11.000000000 +0200
+++ libcddb.new/lib/cddb_conn.c 2010-11-28 21:03:39.012749230 +0100
-@@ -100,9 +100,17 @@
+@@ -100,9 +100,18 @@
c->use_cache = CACHE_ON;
/* construct cache dir '$HOME/[DEFAULT_CACHE]' */
s = getenv("HOME");
@@ -17,6 +17,7 @@
+ {
+ c->cache_dir = NULL;
+ c->use_cache = CACHE_OFF;
++ c->cache_read = FALSE;
+ }
/* use anonymous at localhost */
More information about the vlc-commits
mailing list