diff options
author | Gaurav Batra <gbatra@nvidia.com> | 2014-11-03 21:18:31 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-03 21:18:31 +0000 |
commit | 8d55aa31abe6d3db7693c6a49d9471f06c586c41 (patch) | |
tree | 3738e599a1c8e87d362ed31cc639df3f9f8592a5 /camera | |
parent | 21a9d81beed3a90a4017af3457557af5c11105e8 (diff) | |
parent | 0c629a3857c31bee6fa39ba7a9a8cbcabeb383fd (diff) | |
download | frameworks_av-8d55aa31abe6d3db7693c6a49d9471f06c586c41.zip frameworks_av-8d55aa31abe6d3db7693c6a49d9471f06c586c41.tar.gz frameworks_av-8d55aa31abe6d3db7693c6a49d9471f06c586c41.tar.bz2 |
am 0c629a38: camera: fix vendortags section malloc failure
* commit '0c629a3857c31bee6fa39ba7a9a8cbcabeb383fd':
camera: fix vendortags section malloc failure
Diffstat (limited to 'camera')
-rw-r--r-- | camera/VendorTagDescriptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/VendorTagDescriptor.cpp b/camera/VendorTagDescriptor.cpp index 0dda6b6..dce313a 100644 --- a/camera/VendorTagDescriptor.cpp +++ b/camera/VendorTagDescriptor.cpp @@ -206,7 +206,7 @@ status_t VendorTagDescriptor::createFromParcel(const Parcel* parcel, return res; } - size_t sectionCount; + size_t sectionCount = 0; if (tagCount > 0) { if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(§ionCount))) != OK) { ALOGE("%s: could not read section count for.", __FUNCTION__); |