summaryrefslogtreecommitdiffstats
path: root/abs/core/libcdaudio/02-cddb-bufferoverflow.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 14:42:59 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 14:42:59 (GMT)
commite2fa4ac78e97238eedb771a373a1595dd3013f56 (patch)
treeb19c0f0efbe5d4b724508b1ec77a226f789b8fde /abs/core/libcdaudio/02-cddb-bufferoverflow.patch
parent086090b673780c3374f22766f2269ebc7521a822 (diff)
downloadlinhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.zip
linhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.tar.gz
linhes_pkgbuild-e2fa4ac78e97238eedb771a373a1595dd3013f56.tar.bz2
libcdaudio 0.99.12
Diffstat (limited to 'abs/core/libcdaudio/02-cddb-bufferoverflow.patch')
-rw-r--r--abs/core/libcdaudio/02-cddb-bufferoverflow.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/libcdaudio/02-cddb-bufferoverflow.patch b/abs/core/libcdaudio/02-cddb-bufferoverflow.patch
new file mode 100644
index 0000000..b542273
--- /dev/null
+++ b/abs/core/libcdaudio/02-cddb-bufferoverflow.patch
@@ -0,0 +1,15 @@
+Author: Moritz Muehlenhoff <jmm@inutil.org>
+Description: CVE-2008-5030
+
+diff -Naurp libcdaudio.orig/src/cddb.c libcdaudio/src/cddb.c
+--- libcdaudio.orig/src/cddb.c 2008-09-07 23:53:16.000000000 +0000
++++ libcdaudio/src/cddb.c 2008-11-12 21:32:21.000000000 +0000
+@@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct
+ free(file);
+
+ while(!feof(cddb_data)) {
+- fgets(inbuffer, 512, cddb_data);
++ fgets(inbuffer, 256, cddb_data);
+ cddb_process_line(inbuffer, data);
+ }
+