Re: [PATCH v2] qemu-img: fix offset calculation in bench

2025-05-20 Thread Kevin Wolf
Am 06.05.2025 um 16:13 hat ger...@altlinux.org geschrieben: > From: Denis Rastyogin > > This error was discovered by fuzzing qemu-img. > > The current offset calculation leads to an EIO error > in block/block-backend.c: blk_check_byte_request(): > > if (offset > len || len - offset < bytes) {

[PATCH v2] qemu-img: fix offset calculation in bench

2025-05-06 Thread gerben
From: Denis Rastyogin This error was discovered by fuzzing qemu-img. The current offset calculation leads to an EIO error in block/block-backend.c: blk_check_byte_request(): if (offset > len || len - offset < bytes) { return -EIO; } This triggers the error message: "qemu-img: Failed req