forked from pool/libmikmod
Accepting request 38433 from multimedia:libs
Copy from multimedia:libs/libmikmod based on submit request 38433 from user prusnak OBS-URL: https://build.opensuse.org/request/show/38433 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
b30dd277fa
commit
66145e437f
31
libmikmod-3.1.12-CVE-2009-3995,3996.diff
Normal file
31
libmikmod-3.1.12-CVE-2009-3995,3996.diff
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
Index: loaders/load_it.c
|
||||||
|
===================================================================
|
||||||
|
--- loaders/load_it.c.orig
|
||||||
|
+++ loaders/load_it.c
|
||||||
|
@@ -862,6 +862,11 @@ BOOL IT_Load(BOOL curious)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
IT_ProcessEnvelope(vol);
|
||||||
|
+
|
||||||
|
+ // Secunia SA37775
|
||||||
|
+ if (ih.volpts>= ENVPOINTS)
|
||||||
|
+ ih.volpts = ENVPOINTS-1;
|
||||||
|
+
|
||||||
|
for(u=0;u<ih.volpts;u++)
|
||||||
|
d->volenv[u].val=(ih.volnode[u]<<2);
|
||||||
|
|
||||||
|
Index: loaders/load_ult.c
|
||||||
|
===================================================================
|
||||||
|
--- loaders/load_ult.c.orig
|
||||||
|
+++ loaders/load_ult.c
|
||||||
|
@@ -225,6 +225,10 @@ BOOL ULT_Load(BOOL curious)
|
||||||
|
for(t=0;t<of.numpat;t++)
|
||||||
|
of.patterns[(t*of.numchn)+u]=tracks++;
|
||||||
|
|
||||||
|
+ // SA37775
|
||||||
|
+ if (of.numchn>=UF_MAXCHAN)
|
||||||
|
+ of.numchn=UF_MAXCHAN - 1;
|
||||||
|
+
|
||||||
|
/* read pan position table for v1.5 and higher */
|
||||||
|
if(mh.id[14]>='3') {
|
||||||
|
for(t=0;t<of.numchn;t++) of.panning[t]=_mm_read_UBYTE(modreader)<<4;
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 21 15:03:19 CEST 2010 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- fixed CVE-2009-3995 and CVE-2009-3996 [bnc#577875]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 21 15:01:16 UTC 2009 - prusnak@suse.cz
|
Mon Dec 21 15:01:16 UTC 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmikmod (Version 3.1.12)
|
# spec file for package libmikmod (Version 3.1.12)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,7 +25,7 @@ License: LGPLv2.1+
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: MikMod Sound Library
|
Summary: MikMod Sound Library
|
||||||
Version: 3.1.12
|
Version: 3.1.12
|
||||||
Release: 1
|
Release: 2
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libmikmod-64bit
|
Obsoletes: libmikmod-64bit
|
||||||
@@ -42,6 +42,7 @@ Patch4: %{name}-3.1.12-config-fix.diff
|
|||||||
Patch5: %{name}-3.1.12-conftest_fix.diff
|
Patch5: %{name}-3.1.12-conftest_fix.diff
|
||||||
Patch6: %{name}-3.1.12-exitcrash-fix.diff
|
Patch6: %{name}-3.1.12-exitcrash-fix.diff
|
||||||
Patch7: %{name}-3.1.12-loopingvolume-fix.diff
|
Patch7: %{name}-3.1.12-loopingvolume-fix.diff
|
||||||
|
Patch8: %{name}-3.1.12-CVE-2009-3995,3996.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -87,6 +88,7 @@ mtm, xm, and it.
|
|||||||
%patch5
|
%patch5
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
%patch8
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
Reference in New Issue
Block a user