Re: [PATCH v2] iio: buffer: hw-consumer: fix use-after-free in error path

From: Joshua Crofts

Date: Fri May 01 2026 - 15:47:05 EST




On Fri, 1 May 2026 at 17:47, Maxwell Doose <m32285159@xxxxxxxxx> wrote:

> I think one of the issues raised by sashiko has an active patch:
>
> https://lore.kernel.org/linux-iio/20260427-iio_buf-v1-1-2bbdac844647@xxxxxxxxx/
>
> and I think they were waiting for Nuno to review it, since they noted
> they were on a "wild goose chase". Thus the only issue raised by sashiko
> that would still need a patch would be the OOB issue, but I haven't
> looked at its explaination thoroughly to see if it's hallucinating.
>
> Anyways this one should still be good to merge.
>
Yeah this is good to merge, I was only pointing out that
Sashiko reported additional errors (unrelated to this patch,
it seems to keep finding more issues with the driver).

--
Kind regards

CJD