commit | cb2556b33c7dd24117c20beabedf562d167d9fd9 | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Fri Feb 19 10:56:59 2016 -0800 |
committer | Greg Hartman <ghartman@google.com> | Thu Aug 23 17:24:52 2018 -0700 |
tree | 786629f5dbb6aca99d2453a175ad87c8d5aa5c95 | |
parent | fced685e9a6040107d8ceb78017f2025de40474d [diff] |
GL encoder null pointer check before write A related patch is also in the system image. Previously when encoding some functions, if the user gives us a null pointer, the encoder will write a header with some data length while not actually writing any data. This patch fix it by writing 0 into the data length field for all those functions. Change-Id: I8b87012d5bcb59fa67fcc8f65a3ca260a102afd2