diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:10:34 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:10:34 +0000 |
commit | 8e8408c65078c4f4c171e5cc2b567d6705bed024 (patch) | |
tree | 1605641dff9d3858f2b1595d8885bb0fe9496f34 /lib/ext2fs/qcow2.c | |
parent | 037a031cb6f2d5e4575a3028e3c7135c59ee805a (diff) | |
parent | 63687023fc2e8871a718cb4e18458eece2e3460c (diff) | |
download | e2fsprogs-8e8408c65078c4f4c171e5cc2b567d6705bed024.tar.gz |
Snap for 10453563 from 63687023fc2e8871a718cb4e18458eece2e3460c to mainline-uwb-releaseaml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000android14-mainline-uwb-release
Change-Id: Ib8f5c32e208ea07a1c7814b337878a6d47c59923
Diffstat (limited to 'lib/ext2fs/qcow2.c')
-rw-r--r-- | lib/ext2fs/qcow2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/qcow2.c b/lib/ext2fs/qcow2.c index ee701f7a..20824170 100644 --- a/lib/ext2fs/qcow2.c +++ b/lib/ext2fs/qcow2.c @@ -238,7 +238,7 @@ int qcow2_write_raw_image(int qcow2_fd, int raw_fd, if (offset == 0) continue; - off_out = (l1_index * img.l2_size) + + off_out = ((__u64)l1_index * img.l2_size) + l2_index; off_out <<= img.cluster_bits; ret = qcow2_copy_data(qcow2_fd, raw_fd, offset, |