Files
poky/meta/recipes-multimedia
Jagadeesh Krishnanjanappa c035a20028 libsndfile1: CVE-2017-14634
double64_init: Check psf->sf.channels against upper bound

This prevents division by zero later in the code.

While the trivial case to catch this (i.e. sf.channels < 1) has already
been covered, a crafted file may report a number of channels that is
so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets
miscalculated to zero (if this makes sense) in the determination of the
blockwidth. Since we only support a limited number of channels anyway,
make sure to check here as well.

CVE-2017-14634

Closes: #318

Affects libsndfile1 = 1.0.28

(From OE-Core rev: 00da7bad24cf78c9dba091b9e480515f25886b48)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-29 15:23:51 +01:00
..
2018-08-29 15:23:50 +01:00
2018-03-04 11:35:41 +00:00
2018-08-29 15:23:51 +01:00
2018-03-09 09:17:02 -08:00
2018-07-02 11:41:26 +01:00
2017-11-30 10:49:21 +00:00
2018-03-20 09:59:31 +00:00
2018-08-29 15:23:51 +01:00
2018-08-01 22:59:23 +01:00
2018-08-29 15:23:50 +01:00
2018-07-02 11:41:26 +01:00
2017-11-21 13:06:11 +00:00
2017-07-06 14:38:15 +01:00
2018-02-06 11:06:29 +00:00