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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYEH+xEeD+pCpe_LPotaWp95X38NHouP4746bww3-hzXQ@mail.gmail.com>
Date: Mon, 23 Sep 2024 11:15:03 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Ma Ke <make24@...as.ac.cn>
Cc: mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com, 
	bartosz.golaszewski@...aro.org, patrice.chotard@...s.st.com, 
	antonio.borneo@...s.st.com, s.shtylyov@....ru, valentin.caron@...s.st.com, 
	peng.fan@....com, akpm@...ux-foundation.org, linux-gpio@...r.kernel.org, 
	linux-stm32@...md-mailman.stormreply.com, 
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, 
	stable@...r.kernel.org
Subject: Re: [PATCH v3] pinctrl: stm32: check devm_kasprintf() returned value

On Fri, Sep 6, 2024 at 12:03 PM Ma Ke <make24@...as.ac.cn> wrote:

> devm_kasprintf() can return a NULL pointer on failure but this returned
> value is not checked. Fix this lack and check the returned value.
>
> Found by code review.
>
> Cc: stable@...r.kernel.org
> Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names")
> Signed-off-by: Ma Ke <make24@...as.ac.cn>

Patch applied for fixes.

Thanks for working on these malloc details, much appreciated!

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ