Commit 5d3baf6e authored by Jeff Hao's avatar Jeff Hao
Browse files

Don't update checksum if data ptr is null.

Passing a nullptr to adler32 resets it to its initial value.

Bug: 28874264

(cherry-picked from commit 2c6b4949)

Change-Id: I9ac1b66004d4028a67aca18057c03ba9fb494041
parent d53208c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment