Commit 95ebb389 authored by Ray Essick's avatar Ray Essick
Browse files

fix handling of empty exif jpeg data

some cameras are producing empty JPEG exif data (as opposed to
omitting it). The resulting sub-overflow resulted in failure at parsing
exif data for a thumbnail; with sanitizers enabled, it crashes
android.process.media

Bug: 117576575
Test: transfer POC image
Change-Id: I79ed673402d5e79dfab53a3d63b1476bc1e86663
Merged-In: I636495633778faf6de63f7f31be1bae17943c3ed
parent 8f688823
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment