[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZY1SBEZKBZvHVk9LK7jvCo0eBxLmJKkFk9UPH_uP=iwQ@mail.gmail.com>
Date: Tue, 8 Nov 2022 15:05:51 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Liao Chang <liaochang1@...wei.com>
Cc: linux@...linux.org.uk, ardb@...nel.org, nico@...xnic.net,
rmk+kernel@...linux.org.uk, chenzhongjin@...wei.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: module: Reclaim the unwind list of module on kmalloc failed
On Thu, Nov 3, 2022 at 2:20 AM Liao Chang <liaochang1@...wei.com> wrote:
> When unwind table allocation failed, it needs to reclaim the unwind list
> of module to avoid potential NULL pointer exception and memory leakage.
>
> Fixes: b6f21d14f1ac ("ARM: 9204/2: module: Add all unwind tables when load module")
> Signed-off-by: Liao Chang <liaochang1@...wei.com>
> Cc: Chen Zhongjin <chenzhongjin@...wei.com>
Looks good to me:
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Please put this into Russells patch tracker.
Yours,
Linus Walleij
Powered by blists - more mailing lists