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:   Tue, 12 Jul 2022 16:06:43 +0800
From:   William Dean <williamsukatube@...il.com>
To:     Linus Walleij <linus.walleij@...aro.org>
Cc:     williamsukatube@....com, dvorkin@...bo.com, wellslutw@...il.com,
        linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Hacash Robot <hacashRobot@...tino.com>
Subject: Re: [PATCH] pinctrl: Add check for kcalloc

thx :)

Linus Walleij <linus.walleij@...aro.org> 于2022年7月11日周一 21:04写道:

>
> On Sun, Jul 10, 2022 at 5:48 PM <williamsukatube@....com> wrote:
>
> > From: William Dean <williamsukatube@...il.com>
> >
> > As the potential failure of the kcalloc(),
> > it should be better to check it in order to
> > avoid the dereference of the NULL pointer.
> >
> > Fixes: aa74c44be19c8 ("pinctrl: Add driver for Sunplus SP7021")
> > Reported-by: Hacash Robot <hacashRobot@...tino.com>
> > Signed-off-by: William Dean <williamsukatube@...il.com>
>
> Patch applied, tweaked the subject a bit,
>
> Yours,
> Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ