Go to file
Martijn Coenen 057269956b Don't pad before calling writeInPlace().
writeInplace() itself already pads securely, by masking off
the padded bytes. If the padding is done before calling
writeInplace(), no mask is applied, and heap data can leak.

Bug: 77237570
Test: builds
Change-Id: Ide27a0002d4ed4196530430760245b971f6a3f44
Merged-In: Ide27a0002d4ed4196530430760245b971f6a3f44

(cherry picked from commit f8542381b72a7bb2452a5278a00ca8c34edbf8a0)
(cherry picked from commit 732132b765cd7b667f16cf32f0fe4c852d7d44dd)

Change-Id: Id65e4573e18ab68b804f1cf63a6977a71da01e5d
2018-07-16 20:24:36 +02:00
build Fix xxhdpi 3072 heap sizes 2016-08-18 19:26:27 +03:00
cmds Android 6.0.1 Release 72 (M4B30X) 2016-10-06 11:50:30 -07:00
data/etc native: add ambient temperature & relative humidity sensor features 2015-11-04 12:28:21 -08:00
docs framework/native/docs: remove doc footer for jd output 2015-05-27 10:13:35 -07:00
include Android 6.0.1 Release 61 (MOB30Z) 2016-08-02 11:37:44 -07:00
libs Don't pad before calling writeInPlace(). 2018-07-16 20:24:36 +02:00
opengl libEGL: Only enable WORKAROUND_BUG_10194508 with board flag 2017-02-19 14:50:34 -05:00
services DO NOT MERGE Remove window obscurement information. 2017-11-10 18:08:28 +03:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00