commit | 01af5431f7b4353706527477aaa3118476e5b8a2 | [log] [tgz] |
---|---|---|
author | Akilesh Kailash <akailash@google.com> | Tue Nov 05 22:22:12 2024 -0800 |
committer | Akilesh Kailash <akailash@google.com> | Tue Nov 05 22:22:12 2024 -0800 |
tree | c891a7fd2552739d0ce69d37e2eebec05150fbd2 | |
parent | a5560db8cc7d0e61e080b7c4bd7696a0daf3d0f2 [diff] |
snapuserd: typecast cow_op->new_block to uint64_t On 32-bit devices, cow_op->new_block * BLOCK_SZ can overflow. Bug: 376978542 Test: snapuserd_test on 32-bit device 1: Initiate merge on partition > 4GB. 2: Verify no overflow. Change-Id: I4efc24891e0b330505ddf59b7db7716f054cf9c4 Signed-off-by: Akilesh Kailash <akailash@google.com>