Henrik Lundin
80b2806250
Fixing a buffer overflow in Merge::Downsample
...
In the unlikely event that the decoded audio is really short, the
downsampling would read outside of the decoded audio vector. This CL
fixes that, and adds a unit test that verifies the fix (when running
with ASan).
Bug: chromium:1016506
Change-Id: Ifb8071ce0550111cd66e7f7c1bed7f17b33f93c5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160304
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29898}
2019-11-25 12:16:30 +00:00
..
2019-10-31 15:43:59 +00:00
2019-11-11 17:45:46 +00:00
2019-11-04 12:42:57 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2019-09-20 10:41:09 +00:00
2019-01-31 13:23:33 +00:00
2018-09-14 07:05:20 +00:00
2019-07-08 13:45:15 +00:00
2018-10-04 14:01:44 +00:00
2018-07-25 14:59:26 +00:00
2019-07-08 13:45:15 +00:00
2017-09-15 05:02:56 +00:00
2019-06-28 10:11:33 +00:00
2019-07-08 13:45:15 +00:00
2019-06-27 09:16:27 +00:00
2019-07-08 13:45:15 +00:00
2019-06-27 09:16:27 +00:00
2017-09-15 05:02:56 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-11-04 16:29:17 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-10-25 11:36:41 +00:00
2019-10-25 11:36:41 +00:00
2019-10-31 15:43:59 +00:00
2019-01-10 10:04:34 +00:00
2019-01-10 10:04:34 +00:00
2019-10-31 15:43:59 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-06-19 14:00:39 +00:00
2018-10-04 14:01:44 +00:00
2019-07-08 13:45:15 +00:00
2018-09-06 12:53:19 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-10-31 15:43:59 +00:00
2019-06-28 14:20:03 +00:00
2019-04-26 09:48:05 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-08-29 11:45:38 +00:00
2019-05-23 14:19:30 +00:00
2019-11-25 12:16:30 +00:00
2019-11-25 12:16:30 +00:00
2019-01-11 17:11:39 +00:00
2018-07-25 14:59:26 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-09-17 15:47:29 +00:00
2019-11-19 12:58:50 +00:00
2019-11-19 12:58:50 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-11-11 17:45:46 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-07-03 15:12:09 +00:00
2019-07-24 16:47:13 +00:00
2019-10-31 15:43:59 +00:00
2017-09-15 05:02:56 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00
2017-09-15 05:02:56 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 07:39:45 +00:00
2019-08-07 10:12:56 +00:00
2019-01-11 17:11:39 +00:00
2019-04-29 15:39:50 +00:00
2019-11-21 11:40:21 +00:00
2019-10-31 15:43:59 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2018-06-19 14:00:39 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2018-10-23 11:32:56 +00:00
2019-01-11 17:11:39 +00:00