From 46da5fa302fcc8fdfc4b66e3996f30eed99376701e1a90270624d77a6c4657a1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 6 Nov 2012 18:16:03 +0000 Subject: [PATCH] Accepting request 140370 from home:tiwai:branches:multimedia:apps - updated to version 5.18.02, including previous security fixes: this fixes the build failure on FACTORY with new bison, too; see ChangeLog for detailed updates and fixes OBS-URL: https://build.opensuse.org/request/show/140370 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=15 --- Csound5.16.6.tar.gz | 3 -- Csound5.18.02.tar.gz | 3 ++ csound-fix-CVE-2012-2107.patch | 57 ---------------------------------- csound.changes | 7 +++++ csound.spec | 6 ++-- 5 files changed, 12 insertions(+), 64 deletions(-) delete mode 100644 Csound5.16.6.tar.gz create mode 100644 Csound5.18.02.tar.gz delete mode 100644 csound-fix-CVE-2012-2107.patch diff --git a/Csound5.16.6.tar.gz b/Csound5.16.6.tar.gz deleted file mode 100644 index acc792c..0000000 --- a/Csound5.16.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ba912850152aeddb7eb757a33c185e3d50b4807548db6d7ba6cf85de15e7ffb -size 8735038 diff --git a/Csound5.18.02.tar.gz b/Csound5.18.02.tar.gz new file mode 100644 index 0000000..8e2149d --- /dev/null +++ b/Csound5.18.02.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c461cf3bf60b83671224949dd33805379b7121bf2c0ad6af5e191e7f6f8adc8 +size 9211491 diff --git a/csound-fix-CVE-2012-2107.patch b/csound-fix-CVE-2012-2107.patch deleted file mode 100644 index 56732b9..0000000 --- a/csound-fix-CVE-2012-2107.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 61d1df45ca9a52bab62892a3c3a13c41e6384505 Mon Sep 17 00:00:00 2001 -From: John ffitch -Date: Tue, 6 Mar 2012 17:12:43 +0000 -Subject: [PATCH] security in utilities - ---- - util/lpci_main.c | 17 ++++++++++++++--- - util/pv_import.c | 4 ++++ - 2 files changed, 18 insertions(+), 3 deletions(-) - ---- a/util/lpci_main.c -+++ b/util/lpci_main.c -@@ -73,17 +73,28 @@ int main(int argc, char **argv) - hdr.headersize, hdr.lpmagic, hdr.npoles, hdr.nvals, - hdr.framrate, hdr.srate, hdr.duration); - str = (char *)malloc(hdr.headersize-sizeof(LPHEADER)+4); -- fread(&hdr, sizeof(char), hdr.headersize-sizeof(LPHEADER)+4, inf); -+ if (str==NULL) { -+ printf("memory allocation failure\n"); -+ exit(1); -+ } -+ if (hdr.headersize-sizeof(LPHEADER)+4 != -+ fread(&hdr, sizeof(char), hdr.headersize-sizeof(LPHEADER)+4, inf)) { -+ printf("Ill formed data\n"); -+ exit(1); -+ } - for (i=0; iMalloc(csound, data.nAnalysisBins*2*sizeof(float)); - int i; -+ if (frame==NULL) { -+ csound->Message(csound, Str("Memory failure\n")); -+ exit(1); -+ } - for (i=1;;i++) { - int j; - for (j=0; j