commit | 87fb96816465f226a9d6a34d2c0195889c641dc0 | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Thu Sep 02 22:44:59 2021 +0000 |
committer | Keith Mok <keithmok@google.com> | Thu Sep 02 22:57:51 2021 +0000 |
tree | fafd2d712879eea920c8f855738e36a10e6ecee0 | |
parent | 5315314c493b3d3853778b85b2b0b09036248d01 [diff] |
Fix virtual camera crash Caught by the fuzzer The camera buffer can be zero in the camera capture thread Add a checking for that Fix: 195661931 Test: Build evs_virtual_camera_fuzzer and run on the target device Change-Id: I2c44299ce175948251b34a35d261f43b2931077f
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.