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: <20240803121920.19ab9947@jic23-huawei>
Date: Sat, 3 Aug 2024 12:19:20 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Andrew Jeffery <andrew@...econstruct.com.au>
Cc: "Rob Herring (Arm)" <robh@...nel.org>, Lars-Peter Clausen
 <lars@...afoo.de>, Joel Stanley <joel@....id.au>,
 linux-iio@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
 linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: aspeed: Use of_property_present()

On Thu, 01 Aug 2024 11:13:50 +0930
Andrew Jeffery <andrew@...econstruct.com.au> wrote:

> On Wed, 2024-07-31 at 13:12 -0600, Rob Herring (Arm) wrote:
> > Use of_property_present() to test for property presence rather than
> > of_find_property(). This is part of a larger effort to remove callers
> > of of_find_property() and similar functions. of_find_property() leaks
> > the DT struct property and data pointers which is a problem for
> > dynamically allocated nodes which may be freed.
> > 
> > Signed-off-by: Rob Herring (Arm) <robh@...nel.org>  
> 
> Acked-by: Andrew Jeffery <andrew@...econstruct.com.au>
> 

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ