Re: [PATCH 3/4] qemu-img: prevent stack overflow in bench by using bottom half

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. > > Previously, new I/O requests were launched synchronously inside the > completion callback `bench_cb`, leading to deep recursion and stack > overflow. This pa

[PATCH 3/4] qemu-img: prevent stack overflow in bench by using bottom half

2025-03-27 Thread gerben
From: Denis Rastyogin This error was discovered by fuzzing qemu-img. Previously, new I/O requests were launched synchronously inside the completion callback `bench_cb`, leading to deep recursion and stack overflow. This patch moves the launching of new requests to a separate function `bench_bh`,