lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 13 Nov 2023 15:12:56 +0100
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Chen Ni <nichen@...as.ac.cn>
Cc:     mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com,
        robh@...nel.org, geert+renesas@...der.be, jernej.skrabec@...il.com,
        valentin.caron@...s.st.com, bero@...libre.com,
        dario.binacchi@...rulasolutions.com, linux-gpio@...r.kernel.org,
        linux-stm32@...md-mailman.stormreply.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: stm32: Add check for devm_kcalloc

On Tue, Oct 31, 2023 at 9:09 AM Chen Ni <nichen@...as.ac.cn> wrote:

> Add check for the return value of devm_kcalloc() and return the error
> if it fails in order to avoid NULL pointer dereference.
>
> Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names")
> Signed-off-by: Chen Ni <nichen@...as.ac.cn>

Patch applied.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ