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]
Message-ID: <4b16859d-db44-1772-f9e8-5f467b850295@embeddedor.com>
Date:   Mon, 27 Nov 2017 06:58:33 -0600
From:   "Gustavo A. R. Silva" <garsilva@...eddedor.com>
To:     Linus Walleij <linus.walleij@...aro.org>
Cc:     Lee Jones <lee.jones@...aro.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: sm501: Add NULL check on devm_kzalloc return value


On 11/23/2017 03:37 AM, Linus Walleij wrote:
> On Thu, Nov 23, 2017 at 4:50 AM, Gustavo A. R. Silva
> <garsilva@...eddedor.com> wrote:
>
>> Check return value from call to devm_kzalloc() in order to prevent
>> a NULL pointer dereference.
>>
>> This issue was detected with the help of Coccinelle.
>>
>> Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
>> Signed-off-by: Gustavo A. R. Silva <garsilva@...eddedor.com>
> Acked-by: Linus Walleij <linus.walleij@...aro.org>
>

Thank you, Linus.

--
Gustavo A. R. Silva

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ