aboutsummaryrefslogtreecommitdiffstats
path: root/main/flac/CVE-2017-6888.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-06 06:46:54 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-07 05:36:03 +0000
commit4a026780fa744022e7172bf526c93942dd7e42fd (patch)
tree0b983b97fd3f87012574ceaac4c9bf01add61dd7 /main/flac/CVE-2017-6888.patch
parent02cd631434797ac12a9293efc00bb4b6d213a4e5 (diff)
downloadaports-4a026780fa744022e7172bf526c93942dd7e42fd.tar.gz
aports-4a026780fa744022e7172bf526c93942dd7e42fd.tar.bz2
aports-4a026780fa744022e7172bf526c93942dd7e42fd.tar.xz
main/flac: upgrade to 1.3.3
Diffstat (limited to 'main/flac/CVE-2017-6888.patch')
-rw-r--r--main/flac/CVE-2017-6888.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/main/flac/CVE-2017-6888.patch b/main/flac/CVE-2017-6888.patch
deleted file mode 100644
index 7c829be9b9..0000000000
--- a/main/flac/CVE-2017-6888.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 4f47b63e9c971e6391590caf00a0f2a5ed612e67 Mon Sep 17 00:00:00 2001
-From: Erik de Castro Lopo <erikd@mega-nerd.com>
-Date: Sat, 8 Apr 2017 18:34:49 +1000
-Subject: [PATCH] stream_decoder.c: Fix a memory leak
-
-Leak reported by Secunia Research.
----
- src/libFLAC/stream_decoder.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c
-index 14d5fe7..a552751 100644
---- a/src/libFLAC/stream_decoder.c
-+++ b/src/libFLAC/stream_decoder.c
-@@ -1753,6 +1753,9 @@ FLAC__bool read_metadata_vorbiscomment_(FLAC__StreamDecoder *decoder, FLAC__Stre
- }
- memset (obj->comments[i].entry, 0, obj->comments[i].length) ;
- if (!FLAC__bitreader_read_byte_block_aligned_no_crc(decoder->private_->input, obj->comments[i].entry, obj->comments[i].length)) {
-+ /* Current i-th entry is bad, so we delete it. */
-+ free (obj->comments[i].entry) ;
-+ obj->comments[i].entry = NULL ;
- obj->num_comments = i;
- goto skip;
- }
---
-2.1.4
-