head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.10 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.8 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.6 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.2 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2008Q4:1.5.0.28 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.20 pkgsrc-2008Q1:1.5.0.18 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.16 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.14 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.12 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.10 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2009.12.15.11.08.38; author wiz; state dead; branches; next 1.7; 1.7 date 2009.06.08.09.30.17; author tron; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2009.01.13.12.13.46; author drochner; state dead; branches; next 1.5; 1.5 date 2006.01.21.23.04.08; author adam; state Exp; branches; next 1.4; 1.4 date 2005.09.30.13.26.02; author adam; state Exp; branches; next 1.3; 1.3 date 2004.11.19.12.15.14; author adam; state Exp; branches; next 1.2; 1.2 date 2004.06.28.08.14.03; author adam; state Exp; branches; next 1.1; 1.1 date 2004.04.02.09.37.56; author jmmv; state Exp; branches; next ; 1.7.2.1 date 2009.06.08.09.30.17; author spz; state dead; branches; next 1.7.2.2; 1.7.2.2 date 2009.06.08.21.05.22; author spz; state Exp; branches; next ; desc @@ 1.8 log @Update to 1.0.21: Version 1.0.21 (2009-12-13) * Add a couple of new binary programs to programs/ dir. * Remove sndfile-jackplay (now in sndfile-tools package). * Add windows only function sf_wchar_open(). * Bunch of minor bug fixes. (The last entry sums up at least the DOS patches we had in pkgsrc.) @ text @$NetBSD: patch-af,v 1.7 2009/06/08 09:30:17 tron Exp $ Upstream fix for DoS vulnerability taken from here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530831 --- src/ulaw.c.orig 2009-03-22 19:17:14.000000000 +0000 +++ src/ulaw.c 2009-06-08 10:03:02.000000000 +0100 @@@@ -59,7 +59,7 @@@@ else psf->datalength = 0 ; - psf->sf.frames = psf->datalength / psf->blockwidth ; + psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; return 0 ; } /* ulaw_init */ @ 1.7 log @Add upstream patch (taken from Debian bug report) to fix crashes caused by bad audio files. @ text @d1 1 a1 1 $NetBSD$ @ 1.7.2.1 log @file patch-af was added on branch pkgsrc-2009Q1 on 2009-06-08 21:05:22 +0000 @ text @d1 17 @ 1.7.2.2 log @Pullup ticket 2790 - requested by tron Security update Revisions pulled up: - pkgsrc/audio/libsndfile/Makefile 1.52 - pkgsrc/audio/libsndfile/distinfo 1.29 - pkgsrc/audio/libsndfile/options.mk 1.7 Files added: pkgsrc/audio/libsndfile/patches/patch-aa 1.15 pkgsrc/audio/libsndfile/patches/patch-ab 1.9 pkgsrc/audio/libsndfile/patches/patch-ac 1.11 pkgsrc/audio/libsndfile/patches/patch-ad 1.12 pkgsrc/audio/libsndfile/patches/patch-ae 1.7 pkgsrc/audio/libsndfile/patches/patch-af 1.7 Module Name: pkgsrc Committed By: wiz Date: Sat May 2 17:24:15 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: options.mk Log Message: Add octave option, based on PR 41307 by Rumko. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libsndfile/options.mk --------------------------------------------------------------------- Module Name: pkgsrc Committed By: adam Date: Thu May 14 12:58:27 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: Makefile distinfo options.mk Log Message: Changes 1.0.20: * Fix potential heap overflow in VOC file parser. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 pkgsrc/audio/libsndfile/Makefile cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/libsndfile/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/audio/libsndfile/options.mk --------------------------------------------------------------------- Module Name: pkgsrc Committed By: tron Date: Mon Jun 8 09:30:17 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: Makefile distinfo Added Files: pkgsrc/audio/libsndfile/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-af Log Message: Add upstream patch (taken from Debian bug report) to fix crashes caused by bad audio files. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 pkgsrc/audio/libsndfile/Makefile cvs rdiff -u -r1.28 -r1.29 pkgsrc/audio/libsndfile/distinfo cvs rdiff -u -r0 -r1.15 pkgsrc/audio/libsndfile/patches/patch-aa cvs rdiff -u -r0 -r1.9 pkgsrc/audio/libsndfile/patches/patch-ab cvs rdiff -u -r0 -r1.11 pkgsrc/audio/libsndfile/patches/patch-ac cvs rdiff -u -r0 -r1.12 pkgsrc/audio/libsndfile/patches/patch-ad cvs rdiff -u -r0 -r1.7 pkgsrc/audio/libsndfile/patches/patch-ae \ pkgsrc/audio/libsndfile/patches/patch-af @ text @a0 17 $NetBSD: patch-af,v 1.7 2009/06/08 09:30:17 tron Exp $ Upstream fix for DoS vulnerability taken from here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530831 --- src/ulaw.c.orig 2009-03-22 19:17:14.000000000 +0000 +++ src/ulaw.c 2009-06-08 10:03:02.000000000 +0100 @@@@ -59,7 +59,7 @@@@ else psf->datalength = 0 ; - psf->sf.frames = psf->datalength / psf->blockwidth ; + psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; return 0 ; } /* ulaw_init */ @ 1.6 log @remove some patches which were intended to make the code compile on older compilers but cause crashes (and possible security problems) instead bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.5 2006/01/21 23:04:08 adam Exp $ d3 15 a17 11 --- src/ms_adpcm.c.orig 2005-10-28 17:42:36.000000000 +0200 +++ src/ms_adpcm.c @@@@ -45,7 +45,7 @@@@ typedef struct short *samples ; unsigned char *block ; #if HAVE_FLEXIBLE_ARRAY - short dummydata [] ; /* ISO C99 struct flexible array. */ + short *dummydata ; /* ISO C99 struct flexible array. */ #else short dummydata [0] ; /* This is a hack an might not work. */ #endif @ 1.5 log @Changes 1.0.13: * Fix form MinGW compiler problems. * Allow readin/write of instrument chunks from WAV and AIFF files. * Compile problem fix for Solaris compiler. * Minor cleanups and bug fixes. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 1.0.12: * Add support for FLAC and Apple's Core Audio Format (CAF). * Add virtual I/O interface (still needs docs). * Cygwin and other Win32 fixes. * Minor bug fixes and cleanups. @ text @d3 1 a3 1 --- src/ms_adpcm.c.orig 2005-09-04 00:11:39.000000000 +0000 d5 1 a5 1 @@@@ -44,7 +44,7 @@@@ typedef struct @ 1.3 log @Changes 1.0.11: * Add SD2 file support * Reading of loop data in WAV and AIFF * Minor bug fixes @ text @d3 1 a3 1 --- src/ms_adpcm.c.orig 2004-10-17 00:46:34.000000000 +0000 d9 2 a10 2 - unsigned short dummydata [] ; /* ISO C99 struct flexible array. */ + unsigned short *dummydata ; /* ISO C99 struct flexible array. */ d12 1 a12 1 unsigned short dummydata [0] ; /* This is a hack an might not work. */ @ 1.2 log @Changes 1.0.10: * Minor bug fixes * Fix support for Win32 MinGW compiler @ text @d3 1 a3 1 --- src/ms_adpcm.c.orig 2004-06-16 10:17:04.000000000 +0000 d12 1 a12 1 unsigned short dummydata [1] ; /* This is a hack an might not work. */ @ 1.1 log @Fix build under NetBSD 1.6 (gcc2). @ text @d3 1 a3 1 --- src/ms_adpcm.c.orig 2004-03-03 09:23:12.000000000 +0100 d5 1 a5 2 @@@@ -43,7 +43,7 @@@@ typedef struct sf_count_t samplecount ; d8 6 a13 5 - unsigned short dummydata [] ; /* ISO C99 struct hack */ + unsigned short *dummydata ; /* ISO C99 struct hack */ } MSADPCM_PRIVATE ; /*============================================================================================ @