commit | 304bbd287c7a18f66f18daaed0d0aae78199bdd9 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed May 21 15:14:02 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed May 21 15:14:02 2014 -0700 |
tree | e3512dd9b05523eefb0364ff1451314a20262ee8 | |
parent | e34b8abf3adedda74a075be71f382ef716d64227 [diff] |
Temporary fix for buffer overrun issue. Allocating the bitmap using getSafeSize() causes problems since getSafeSize64() < getSize() if there is a stride. Since everywhere else uses getSize() it results in a lot of possible buffer overruns. The fix reverts to using getSize instead of getSafeSize64. Bug: 15089814 Change-Id: Ia471cf9715672d57bb7eb61bf735064aeb405ffe