OSDN Git Service

libui: add boundary check to GraphicBuffer::unflatten
authorChia-I Wu <olv@google.com>
Tue, 9 Oct 2018 22:22:46 +0000 (15:22 -0700)
committerRohit Yengisetty <rngy@google.com>
Tue, 16 Oct 2018 23:21:20 +0000 (16:21 -0700)
commit8df427d7ae9866687c84870f35734191c73e6f67
tree640eda727e648a7aeaa7ab8fb6254575081e504d
parent1f6fdab48c713e37fc42dd9b1f65364235447195
libui: add boundary check to GraphicBuffer::unflatten

Commit cb496acbe593326e8d5d563847067d02b2df40ec removed the boundary
check by accident.

Bug: 114223584
Test: manual
Change-Id: I057bc02d5807e438530d1a5327c2e02b9d154151
(cherry picked from commit bf8d7210c4bbbdc875e9695a301cdf9c3b544279)
libs/ui/GraphicBuffer.cpp