diff options
author | dogcow <dogcow@pkgsrc.org> | 2005-08-27 06:59:52 +0000 |
---|---|---|
committer | dogcow <dogcow@pkgsrc.org> | 2005-08-27 06:59:52 +0000 |
commit | d8a15caf414fbfd73b4cdf2e611e9b8e988d72ba (patch) | |
tree | ece06e7f74725d540227a4214b4f81383322e021 /multimedia/mplayer-share | |
parent | bd041c886eb30f57fc5440c7f3d51925c6f6a6c7 (diff) | |
download | pkgsrc-d8a15caf414fbfd73b4cdf2e611e9b8e988d72ba.tar.gz |
Security fix for mplayer as given in
http://www.sven-tantau.de/public_files/mplayer/mplayer_20050824.txt .
bump PKGREVISION of affected pkgs.
Diffstat (limited to 'multimedia/mplayer-share')
-rw-r--r-- | multimedia/mplayer-share/distinfo | 3 | ||||
-rw-r--r-- | multimedia/mplayer-share/patches/patch-ag | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/multimedia/mplayer-share/distinfo b/multimedia/mplayer-share/distinfo index 771265e5fda..364ff9f0994 100644 --- a/multimedia/mplayer-share/distinfo +++ b/multimedia/mplayer-share/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2005/07/21 14:24:48 wiz Exp $ +$NetBSD: distinfo,v 1.23 2005/08/27 06:59:52 dogcow Exp $ SHA1 (mplayer-1.0rc7/MPlayer-1.0pre7.tar.bz2) = df1e8d4f2f44d72c6f7989932f3b272e815ecb80 RMD160 (mplayer-1.0rc7/MPlayer-1.0pre7.tar.bz2) = a4bac10df287c4b134ea49b3bc9bf7fb0126cae6 @@ -18,6 +18,7 @@ SHA1 (patch-ac) = 3b9ae32e6e656ec4b58b7e51a1c2eaa280384f3e SHA1 (patch-ad) = d705dd315e913593223b83e533c60a9620d34cc8 SHA1 (patch-ae) = 601808d8c89cba68156fb3c95fe9fcfb8da4fca0 SHA1 (patch-af) = 6eab8572b239f6ac7afc03ad6254a7c97f90663e +SHA1 (patch-ag) = 9bc3466ef24970e3f26fc64601d9f2c27fa394d2 SHA1 (patch-da) = be092da4f854708c1ef47f10c26e361c095a6799 SHA1 (patch-dc) = b11ef06a89f13e2ae5e013d569aa5acc99c770aa SHA1 (patch-dd) = e5b23b73a1e53e3185ecbac26042432395cd5e63 diff --git a/multimedia/mplayer-share/patches/patch-ag b/multimedia/mplayer-share/patches/patch-ag new file mode 100644 index 00000000000..a5c11769c9c --- /dev/null +++ b/multimedia/mplayer-share/patches/patch-ag @@ -0,0 +1,16 @@ +$NetBSD: patch-ag,v 1.1 2005/08/27 06:59:52 dogcow Exp $ + +--- libmpcodecs/ad_pcm.c 2005/07/28 13:43:24 1.18 ++++ libmpcodecs/ad_pcm.c 2005/08/25 19:46:20 1.19 +@@ -98,8 +98,8 @@ + + static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) + { +- int len=sh_audio->channels*sh_audio->samplesize-1; +- len=(minlen+len)&(~len); // sample align ++ unsigned len = sh_audio->channels*sh_audio->samplesize; ++ len = maxlen - maxlen % len; // sample align + len=demux_read_data(sh_audio->ds,buf,len); + return len; + } + |