diff options
author | wiz <wiz@pkgsrc.org> | 2015-12-04 22:52:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-12-04 22:52:57 +0000 |
commit | 63624c7008094c319fff730e9ee106e18f500938 (patch) | |
tree | 3a93c73d7ddc6886cf3f11f7cb8690712200485e /audio | |
parent | eaac671b8d1f32c0a3ac61937ec50e1eb13af4f0 (diff) | |
download | pkgsrc-63624c7008094c319fff730e9ee106e18f500938.tar.gz |
Remove obsolete patch (after update to 1.0.26)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libsndfile/patches/patch-src_sd2.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/audio/libsndfile/patches/patch-src_sd2.c b/audio/libsndfile/patches/patch-src_sd2.c deleted file mode 100644 index 81f0b7a2578..00000000000 --- a/audio/libsndfile/patches/patch-src_sd2.c +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-src_sd2.c,v 1.1 2015/01/03 18:43:48 spz Exp $ - -patch for -http://secunia.com/advisories/61132 -from -https://github.com/erikd/libsndfile/commit/dbe14f00030af5d3577f4cabbf9861db59e9c378 -part 2 of 2 - ---- src/sd2.c.orig 2011-01-19 10:10:36.000000000 +0000 -+++ src/sd2.c -@@ -496,6 +496,11 @@ sd2_parse_rsrc_fork (SF_PRIVATE *psf) - - rsrc.type_offset = rsrc.map_offset + 30 ; - -+ if (rsrc.map_offset + 28 > rsrc.rsrc_len) -+ { psf_log_printf (psf, "Bad map offset.\n") ; -+ goto parse_rsrc_fork_cleanup ; -+ } ; -+ - rsrc.type_count = read_short (rsrc.rsrc_data, rsrc.map_offset + 28) + 1 ; - if (rsrc.type_count < 1) - { psf_log_printf (psf, "Bad type count.\n") ; -@@ -512,7 +517,12 @@ sd2_parse_rsrc_fork (SF_PRIVATE *psf) - - rsrc.str_index = -1 ; - for (k = 0 ; k < rsrc.type_count ; k ++) -- { marker = read_marker (rsrc.rsrc_data, rsrc.type_offset + k * 8) ; -+ { if (rsrc.type_offset + k * 8 > rsrc.rsrc_len) -+ { psf_log_printf (psf, "Bad rsrc marker.\n") ; -+ goto parse_rsrc_fork_cleanup ; -+ } ; -+ -+ marker = read_marker (rsrc.rsrc_data, rsrc.type_offset + k * 8) ; - - if (marker == STR_MARKER) - { rsrc.str_index = k ; |