Re: [PATCH 2/4] qemu-img: fix offset calculation in bench

2025-04-25 Thread Kevin Wolf
Am 27.03.2025 um 17:24 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 2/4] qemu-img: fix offset calculation in bench

2025-03-27 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