OSDN Git Service

SurfaceFlinger: Add NULL check for buffer handling
authorPraveena Pachipulusu <pveena@codeaurora.org>
Thu, 21 Nov 2013 13:27:31 +0000 (18:57 +0530)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 3 Feb 2014 14:26:47 +0000 (22:26 +0800)
commitba960b01937cbffaac69c1bcc78eb10f6cb10968
tree925335515665f031aea018aed2e60ac0df2dcf26
parent01c913243cb27fae8968a47cbd75bf604906481c
SurfaceFlinger: Add NULL check for buffer handling

Add buffer handling NULL check in dequeueBuffer and
verify whether the output data from binder is not NULL
in queueBuffer and connect api's to avoid SF crash

CRs-Fixed: 573088
CRs-Fixed: 572315

Change-Id: I41cebbc0cbcbbb0fd5ecb38db7ec7b0c91cdffe9
libs/gui/IGraphicBufferProducer.cpp
libs/gui/Surface.cpp