Backport fix that prevents crashers when playing MP3
OK aja@
This commit is contained in:
parent
c2d5a6c782
commit
79587ecc16
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2015/07/28 10:17:14 sebastia Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2015/07/30 20:24:58 sebastia Exp $
|
||||
|
||||
COMMENT = audio player for GNUstep
|
||||
|
||||
DISTNAME = Cynthiune-1.0.0
|
||||
REVISION = 3
|
||||
REVISION = 4
|
||||
CATEGORIES += audio
|
||||
|
||||
HOMEPAGE = http://gap.nongnu.org/cynthiune/
|
||||
|
16
x11/gnustep/cynthiune/patches/patch-Bundles_MP3_MP3_m
Normal file
16
x11/gnustep/cynthiune/patches/patch-Bundles_MP3_MP3_m
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Bundles_MP3_MP3_m,v 1.1 2015/07/30 20:24:58 sebastia Exp $
|
||||
|
||||
Fix from upstream, prevent crasher on playing MP3,
|
||||
svn rev 3064
|
||||
|
||||
--- Bundles/MP3/MP3.m.orig Thu Jul 30 19:47:29 2015
|
||||
+++ Bundles/MP3/MP3.m Thu Jul 30 19:47:41 2015
|
||||
@@ -118,7 +118,7 @@ calcInputRemain (MadStream *stream, unsigned char *iBu
|
||||
inputRemain = 0;
|
||||
}
|
||||
else
|
||||
- memcpy (iBuffer, stream->next_frame, inputRemain);
|
||||
+ memmove (iBuffer, stream->next_frame, inputRemain);
|
||||
}
|
||||
else
|
||||
inputRemain = 0;
|
Loading…
Reference in New Issue
Block a user