commit | fb259ce49638118c0088b6448b83dd1021ca0148 | [log] [tgz] |
---|---|---|
author | Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org> | Wed Oct 17 20:55:20 2012 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Oct 17 21:42:15 2012 -0700 |
tree | 99fd8fe7dc65e1ac7a46b8d5b9ebd442dd4a4c42 | |
parent | d871750a9d1021befbbd04a1b586869245d187df [diff] |
camera: Handle NPE in data call back. In case of error handling, HAL sends a data call back with NULL data ptr which crashes the app upon deref. This patch avoids sending NULL data ptr. Bug: 7324300 Change-Id: I7295994443d7f66c1f041da351ee32f1dc909502 Signed-off-by: Iliyan Malchev <malchev@google.com>