commit | fccaa5fa7a3e134949f5ea9fe3d4f3c388d4243b | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Fri Oct 01 20:46:02 2021 |
committer | James Zern <jzern@google.com> | Fri Oct 01 22:52:38 2021 |
tree | 8e1f3efc6fa42aa8630cc8df7462451f674c7079 | |
parent | b68877a7ebfe764714f8ce7aeb2a7f6d12b77989 [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