commit | b9afc7b28b4a8e231310cf1f20d15a5671cce6f2 | [log] [tgz] |
---|---|---|
author | Tom Taylor <tomtaylor@google.com> | Wed Jan 11 09:17:01 2017 -0800 |
committer | gitbuildkicker <android-build@google.com> | Fri Jan 20 10:27:41 2017 -0800 |
tree | 7ce2676e717bffb7d4c3450e4c6f75ff85989c12 | |
parent | 1981ec49306d8d25b9293b05b950902d35dd43a5 [diff] |
32764144 Security Vulnerability - heap buffer overflow in libgiftranscode.so in colorMap->Colors[colorIndex] * No range checking was done on a color index. Add range checking and bail if the color index is out of range. Test: tested sending a large gif that would invoke the GifTranscoder library to make the gif smaller. Bug: 32764144 Change-Id: I44f36274ec333ae1960fa8fc96b2dbde35fbaa66 (cherry picked from commit 6f763fef7ab16e28f6c43496e0f866e7803b4dc8)