Accepting request 46212 from multimedia:libs

Copy from multimedia:libs/libmikmod based on submit request 46212 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/46212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=18
This commit is contained in:
OBS User autobuild 2010-08-27 12:29:37 +00:00 committed by Git OBS Bridge
parent 5d91c969e5
commit 052e93499a
3 changed files with 10 additions and 5 deletions

View File

@ -6,8 +6,8 @@ Index: loaders/load_it.c
ih. name##end =_mm_read_UBYTE(modreader); \ ih. name##end =_mm_read_UBYTE(modreader); \
ih. name##susbeg=_mm_read_UBYTE(modreader); \ ih. name##susbeg=_mm_read_UBYTE(modreader); \
ih. name##susend=_mm_read_UBYTE(modreader); \ ih. name##susend=_mm_read_UBYTE(modreader); \
+ if (ih. name##pts>= ENVPOINTS) \ + if (ih. name##pts>= ITENVCNT) \
+ ih. name##pts = ENVPOINTS-1; \ + ih. name##pts = ITENVCNT-1; \
for(lp=0;lp<ITENVCNT;lp++) { \ for(lp=0;lp<ITENVCNT;lp++) { \
ih. name##node[lp]=_mm_read_##type (modreader); \ ih. name##node[lp]=_mm_read_##type (modreader); \
ih. name##tick[lp]=_mm_read_I_UWORD(modreader); \ ih. name##tick[lp]=_mm_read_I_UWORD(modreader); \
@ -15,8 +15,8 @@ Index: loaders/load_it.c
ih. name/**/end =_mm_read_UBYTE(modreader); \ ih. name/**/end =_mm_read_UBYTE(modreader); \
ih. name/**/susbeg=_mm_read_UBYTE(modreader); \ ih. name/**/susbeg=_mm_read_UBYTE(modreader); \
ih. name/**/susend=_mm_read_UBYTE(modreader); \ ih. name/**/susend=_mm_read_UBYTE(modreader); \
+ if (ih. name/**/pts>= ENVPOINTS) \ + if (ih. name/**/pts>= ITENVCNT) \
+ ih. name/**/pts = ENVPOINTS-1; \ + ih. name/**/pts = ITENVCNT-1; \
for(lp=0;lp<ITENVCNT;lp++) { \ for(lp=0;lp<ITENVCNT;lp++) { \
ih. name/**/node[lp]=_mm_read_/**/type (modreader); \ ih. name/**/node[lp]=_mm_read_/**/type (modreader); \
ih. name/**/tick[lp]=_mm_read_I_UWORD(modreader); \ ih. name/**/tick[lp]=_mm_read_I_UWORD(modreader); \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 25 13:26:22 UTC 2010 - prusnak@opensuse.org
- correct fix for CVE-2009-3995 [bnc#625547]
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 23 01:29:56 CEST 2010 - prusnak@suse.cz Fri Apr 23 01:29:56 CEST 2010 - prusnak@suse.cz

View File

@ -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: 3 Release: 8
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libmikmod-64bit Obsoletes: libmikmod-64bit