commit | 7c6f217fe717b3287c17bf75983843efad4885c2 | [log] [tgz] |
---|---|---|
author | Joshua J. Drake <android-open-source@qoop.org> | Mon May 04 17:57:24 2015 -0500 |
committer | Jon Larimer <jlarimer@google.com> | Fri Jul 31 15:04:46 2015 -0400 |
tree | f815e79f81ab8749d3daa1a0ddbeeec12684936e | |
parent | 4ec8ab47998f9660ad15061d3e39c419cf283a8e [diff] |
Prevent integer underflow if size is below 6 When processing 3GPP metadata, a subtraction operation may underflow and lead to a rather large linear byteswap operation in the subsequent framedata decoding code. Bound the 'size' value to prevent this from occurring. Bug: 20923261 Change-Id: I35dfbc8878c6b65cfe8b8adb7351a77ad4d604e5