[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MIu12FE--3-2@tutanota.com>
Date: Mon, 5 Oct 2020 20:31:16 +0200 (CEST)
From: ultracoolguy@...anota.com
To: Pavel Machek <pavel@....cz>
Cc: Alexander Dahl <post@...pocky.de>, Dmurphy <dmurphy@...com>,
Marek Behun <kabel@...ckhole.sk>,
Linux Leds <linux-leds@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] leds: lm3697: Fix out-of-bound access
Otherwise everything works great :)
(And sorry for sending two emails)
Oct 5, 2020, 18:29 by ultracoolguy@...anota.com:
> This:
>
> led->num_banks = count;
>
> Has to be below devm_kzalloc. Else, it's NULL.
> Oct 5, 2020, 17:32 by pavel@....cz:
>
>> Hi!
>>
>>> Agh. I added the Signed-off-by in an earlier non-published version of the commit, but forgot to add it back. But that doesn't really excuses me.
>>>
>>> I attached the (hopefully) final version of this patch. Pavel, I'll send the struct rename separately after I submit this.
>>>
>>
>> Thanks, I applied it with ... some tweaks. I hope I did not break it,
>> and would not mind testing.
>>
>> Best regards,
>> Pavel
>>
>>
>> --
>> (english) http://www.livejournal.com/~pavelmachek
>> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>>
>
>
Powered by blists - more mailing lists