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: <f2fc8479-6b45-4fb6-904d-399317d7e74d@gmail.com>
Date: Fri, 1 Nov 2024 16:07:58 +0530
From: Suraj Sonawane <surajsonawane0215@...il.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
 linus.walleij@...aro.org, linux-gpio@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] gpio: fix uninit-value in swnode_find_gpio

On 31/10/24 18:09, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> 
> 
> On Sat, 26 Oct 2024 14:36:42 +0530, Suraj Sonawane wrote:
>> Fix an issue detected by the Smatch tool:
>>
>> drivers/gpio/gpiolib-swnode.c:78 swnode_find_gpio() error:
>> uninitialized symbol 'ret'.
>>
>> The issue occurs because the 'ret' variable may be used without
>> initialization if the for_each_gpio_property_name loop does not run.
>> This could lead to returning an undefined value, causing unpredictable
>> behavior.
>>
>> [...]
> 
> Applied, thanks!
> 
> [1/1] gpio: fix uninit-value in swnode_find_gpio
>        commit: a14968aea637bbe38a99e6089944e4ad8e6c49e5
> 
> Best regards,
Thank you for applying this patch.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ