OSDN Git Service

Initialize local variables to avoid data leak
authorNaveen Leekha <leekha@google.com>
Wed, 23 Sep 2015 00:58:21 +0000 (17:58 -0700)
committerNaveen Leekha <leekha@google.com>
Wed, 23 Sep 2015 00:58:21 +0000 (17:58 -0700)
commitc1e6fbb52c3f85cc7610d1d07d12be38f70b4ed4
tree09865e1312050e775c4fa94a8211aa7b280f3df2
parentbb686c25b214edadd1830abd056db2d570d716ff
Initialize local variables to avoid data leak

The uninitialized local variables pick up
whatever the memory content was there on stack.
This data gets sent to the remote process in
case of a failed transaction, which is a security
issue. Fixed.

(Manual merge of master change
 12ba0f57d028a9c8f4eb3afddc326b70677d1e0c )

For b/23696300

Change-Id: I665212d10da56f0803b5bb772d14c77e632ba2ab
libs/gui/IGraphicBufferProducer.cpp