commit | c580c836c1941fb4912e1dd4e08626caf98a62c7 | [log] [tgz] |
---|---|---|
author | Joshua J. Drake <android-open-source@qoop.org> | Sat Aug 15 08:17:03 2015 -0500 |
committer | Robert Shih <robertshih@google.com> | Fri Aug 21 16:06:23 2015 -0700 |
tree | 11be8eb2577972b3c522503701a59af125ca0729 | |
parent | 916a9684295fb578f4b3c6c16b621ef201a49964 [diff] |
Prevent integer issues in ID3::Iterator::findFrame Integer overflows could occur a few places within findFrame. These can lead to out-of-bounds reads and potentially infinite loops. Ensure that arithmetic does not wrap around to prevent these behaviors. Bug: 23285192 Change-Id: I72a61df7d5719d1d3f2bd0b37fba86f0f4bbedee