commit | ef807fde690e6f8dd96792295c7aa582ff673a7d | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Wed Jul 03 15:02:43 2019 -0700 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Sep 26 15:21:02 2019 -0700 |
tree | 9040c647ee679c9012a49d85fff6da6a02f038cc | |
parent | e2b463d2f8840b12aa6670d33be8b4430ff25cc8 [diff] |
Fix integer overflows while intializing reference lists Instead of looping through all poc/pic numbers with an increment of 1, loop through only valid poc/pic numbers after sorting them. This prevents integer overflows when poc/pic number is INT32_MIN or INT32_MAX This also fixes a timeout issue seen when integer sanitizers are not enabled Bug: 135303936 Bug: 136568141 Bug: 141276890 Test: poc in bug Change-Id: I5db80dd8e811cbb1a9ecd00363fac997551ccaf5