diff options
author | Dmitry Frolov <frolov@swemel.ru> | 2024-09-17 11:03:18 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2024-09-17 12:12:30 +0200 |
commit | 89cd6254b80784a1b3f574407192493ef92fe65f (patch) | |
tree | f685377d7c644a506ed35caa56080221752b34b9 /hw/ide/macio.c | |
parent | ea9cdbcf3a0b8d5497cddf87990f1b39d8f3bb0a (diff) |
hw/block: fix uint32 overflow
The product bs->bl.zone_size * (bs->bl.nr_zones - 1) may overflow
uint32.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Dmitry Frolov <frolov@swemel.ru>
Message-id: 20240917080356.270576-2-frolov@swemel.ru
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/ide/macio.c')
0 files changed, 0 insertions, 0 deletions