[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdVKgW42GCwntSawRXNvRejm90zhuY9_X_u1OxfDj40aTA@mail.gmail.com>
Date: Tue, 6 Jul 2021 09:02:08 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Pavel Skripkin <paskripkin@...il.com>
Cc: Petr Stehlik <pstehlik@...hics.cz>, milan.jurik@...ab.cz,
Michael Schmitz <schmitz@...ian.org>,
linux-m68k <linux-m68k@...ts.linux-m68k.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] m68k: emu: fix invalid free in nfeth_cleanup()
On Mon, Jul 5, 2021 at 10:47 PM Pavel Skripkin <paskripkin@...il.com> wrote:
> In for loop all nfeth_dev array members should be freed, not only
> the first one. Freeing only first array member can cause double-free bug.
>
> Fixes: 9cd7b148312f ("m68k/atari: ARAnyM - Add support for network
> access")
> Signed-off-by: Pavel Skripkin <paskripkin@...il.com>
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
i.e. will queue in the m68k for-v5.15 branch.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists