commit | 2ea1b908d87b29bcc6214efd3073b92392d495ff | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Fri Oct 01 20:46:02 2021 |
committer | Jerome Jiang <jianj@google.com> | Mon Oct 04 18:46:48 2021 |
tree | c6d7f5abd004cf1dc4c75cda00adae4c4912547c | |
parent | 16837ae1680bbc73381570cc783439b0ea121ba6 [diff] |
{vp8,vp9}_set_roi_map: fix validation with INT_MIN previously ranges were checked with abs() whose behavior is undefined with INT_MIN. this fixes a crash when the original value is returned and it later used as and offset into a table. Bug: webm:1742 Change-Id: I345970b75c46699587a4fbc4a059e59277f4c2c8