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)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 19 Oct 2018 16:33:05 +0000 (16:33 +0000)
commit3aeaef6f2848122c051dd0ecc01624b951303449
treee118976d66194e4cb64f9f854598bbd2d81054d7
parentde781bbb48d4a307190192313752cd675348abc8
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