mirror of
git://git.yoctoproject.org/poky
synced 2026-10-01 13:36:37 +00:00
Remove CVE-2017-14245-14246.patch, fix rejected upstream as it doesn't solve the underlying issue. Instead 0001-a-ulaw-fix-multiple-buffer-overflows-432 also solves CVE-2017-14245 and CVE-2017-14246 properly. Add patches for CVE-2017-12562 and CVE-2018-19758. Refresh CVE-2018-13139.patch. (From OE-Core rev: a5625df8031985e9c60c34068a4a01c36da40eec) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
CVE: CVE-2018-13139
|
|
Upstream-Status: Backport [9dc989eb89cd697e19897afa616d6ab0debe4822]
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
|
|
From 9dc989eb89cd697e19897afa616d6ab0debe4822 Mon Sep 17 00:00:00 2001
|
|
From: "Brett T. Warden" <brett.t.warden@intel.com>
|
|
Date: Tue, 28 Aug 2018 12:01:17 -0700
|
|
Subject: [PATCH] Check MAX_CHANNELS in sndfile-deinterleave
|
|
|
|
Allocated buffer has space for only 16 channels. Verify that input file
|
|
meets this limit.
|
|
|
|
Fixes #397
|
|
---
|
|
programs/sndfile-deinterleave.c | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/programs/sndfile-deinterleave.c b/programs/sndfile-deinterleave.c
|
|
index e27593e2..cb497e1f 100644
|
|
--- a/programs/sndfile-deinterleave.c
|
|
+++ b/programs/sndfile-deinterleave.c
|
|
@@ -89,6 +89,13 @@ main (int argc, char **argv)
|
|
exit (1) ;
|
|
} ;
|
|
|
|
+ if (sfinfo.channels > MAX_CHANNELS)
|
|
+ { printf ("\nError : Input file '%s' has too many (%d) channels. Limit is %d.\n",
|
|
+ argv [1], sfinfo.channels, MAX_CHANNELS) ;
|
|
+ exit (1) ;
|
|
+ } ;
|
|
+
|
|
+
|
|
state.channels = sfinfo.channels ;
|
|
sfinfo.channels = 1 ;
|
|
|
|
--
|
|
2.11.0
|