commit | bd119bf2e3faa06751b1e5e65b59f0321bb7a998 | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Fri Oct 17 13:48:06 2014 -0700 |
committer | bohu <bohu@google.com> | Fri Oct 17 13:48:06 2014 -0700 |
tree | b2d62de3e09a84f0954e3dd450612b745a0d026f | |
parent | 52371ec4383b7654497e9f0a0994bae68a6899e9 [diff] |
Guard against negative width and height When negative width or height passes into pixelDataSize, some bogus values are returned. This commit checks both width and height to make sure they are valid. Change-Id: Ia49a9f464e6bb4894207ca4e07bbfdf34fbe741d