diff options
| author | Colin Cross <ccross@android.com> | 2012-07-23 17:09:42 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2012-07-23 17:11:29 -0700 |
| commit | f1ec8ac84a8540b92a16f187bfa92b2f3c63917e (patch) | |
| tree | 1e2133a96b43a76d8b9dc7f9c795001ed09c4f53 /trusty/coverage/coverage_test.cpp | |
| parent | ec7d9dc713322bd41b1e348c0ea3b1304a13dba9 (diff) | |
libsparse: fix 32 bit overflow when calculating last chunk
last_block * s->block_size can overflow when writing large filesystems,
cast to 64 bits before multiplying.
Change-Id: I3e54097852ce7d0fd271eab53d65e666284898e4
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
