Sam Zackrisson
71729eb0a8
Fix fuzzer-found flow-over in AGC1
...
This CL changes a constant from an approximately correct limit
of 2^25.5.
The new limit is the largest x such that z = 10 satisfies:
((x >> z) + 1)^2 <= 2^31 - 1.
If gains[k + 1] > x, then z >= 11 and needs to be computed.
Bug: chromium:860638
Change-Id: If17f257dacd94806e59e4f32b345a5fb15b4e32b
Reviewed-on: https://webrtc-review.googlesource.com/87583
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23908}
2018-07-10 14:02:49 +00:00
..
2018-07-09 14:48:06 +00:00
2018-07-06 11:37:15 +00:00
2018-07-05 10:59:49 +00:00
2018-07-09 14:48:06 +00:00
2018-07-10 14:02:49 +00:00
2018-07-09 14:48:06 +00:00
2018-03-05 09:28:52 +00:00
2018-06-19 10:38:56 +00:00
2018-07-06 13:29:43 +00:00
2018-06-19 14:00:39 +00:00
2018-04-06 14:17:03 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 10:59:49 +00:00
2018-06-19 14:00:39 +00:00
2018-07-05 15:46:28 +00:00
2018-06-26 13:39:25 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-05-14 12:33:49 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-02 13:20:39 +00:00
2018-07-02 13:20:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 08:29:24 +00:00
2018-07-09 14:48:06 +00:00
2018-06-19 14:00:39 +00:00
2018-04-16 12:25:48 +00:00
2018-01-09 13:45:20 +00:00
2018-06-19 14:00:39 +00:00
2017-12-22 15:42:13 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 10:38:56 +00:00
2018-04-27 09:05:25 +00:00
2018-03-29 09:42:07 +00:00
2018-03-29 09:42:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-02 07:45:31 +00:00
2018-06-14 09:51:41 +00:00
2018-06-19 14:00:39 +00:00
2018-03-15 09:21:56 +00:00
2017-11-22 12:39:39 +00:00
2018-06-19 10:38:56 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-04-12 22:05:27 +00:00
2018-06-19 14:00:39 +00:00