Add further array bounds checks to bark_noise_hybridmp.
authorRalph Giles <giles@thaumas.net>
Sat, 13 Jun 2020 00:43:28 +0000 (17:43 -0700)
committerRalph Giles <giles@thaumas.net>
Thu, 2 Jul 2020 05:57:01 +0000 (22:57 -0700)
commita9eb99a5bd6f2d7da02d6cd13a428baf3a1bf48c
tree53298e38145e77f8cee771e76850f7eaf630380a
parent5fd186e2a5bc45dfd3ff2248e5d6247f7567c3dd
Add further array bounds checks to bark_noise_hybridmp.

Make it clear to local analysis that no out-of-bounds array
accesses are possible here.

Follow-up to CVE-2018-10393 and CVE-2017-14160.

Signed-off-by: Thomas Daede <daede003@umn.edu>
Signed-off-by: Monty <xiphmont@xiph.org>
lib/psy.c