commit | 34f33c5e531650dda8d5159ebf34178bb770c828 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Wed Jun 03 11:32:08 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Wed Jun 03 11:32:08 2009 -0700 |
tree | e0f8669ef4f08f8045cff8faa37134471c2d5a08 | |
parent | e676e4df3fe732ea7c8a809d0b9cfac8194edb06 [diff] |
Fix buffer overrun in DDM heap upload. The HPSG heap upload was using a 4KB buffer. A test provided by an external developer is creating massive arrays that need more than 12KB, so we overran the buffer and trashed the native heap. This change adds a test to prevent the overrun, and increases the buffer size to 16KB to accomodate the current maximum heap size.