OSDN Git Service

Do not include image header in decompressed size
authorMathieu Chartier <mathieuc@google.com>
Mon, 14 Mar 2016 18:02:59 +0000 (11:02 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 14 Mar 2016 20:25:35 +0000 (13:25 -0700)
commit324eb2c6b049f1677133f0b708730e904c5e73ab
treebb73dbd46c5b64c525814b66f77fd4581e08b15f
parentdd6558da4bbd11a430268bff7d886b7fcb071dc4
Do not include image header in decompressed size

Could cause a buffer overflow since we told LZ4 to decompress more
bytes than necessary.

Bug: 27561308
Change-Id: Ic938f3e67f8c0627f203ad7261d4342ce43157cd
runtime/gc/space/image_space.cc