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: <20220621151611.GF12206@alpha.franken.de>
Date:   Tue, 21 Jun 2022 17:16:11 +0200
From:   Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To:     Liang He <windhl@....com>
Cc:     yangtiezhu@...ngson.cn, linux-mips@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mips/pic32/pic32mzda: Fix refcount leak bugs

On Sun, Jun 19, 2022 at 12:54:27PM +0800, Liang He wrote:
> of_find_matching_node(), of_find_compatible_node() and
> of_find_node_by_path() will return node pointers with refcout
> incremented. We should call of_node_put() when they are not
> used anymore.
> 
> Signed-off-by: Liang He <windhl@....com>
> ---
>  changelog: 
>  
>  v2: (1) merge pic32/pic32mzda bugs into one patch
>      (2) fix leak bug related to of_find_node_by_path.
>  v1: use two patch for intit.c and time.c
> 
>  arch/mips/pic32/pic32mzda/init.c | 7 ++++++-
>  arch/mips/pic32/pic32mzda/time.c | 3 +++
>  2 files changed, 9 insertions(+), 1 deletion(-)

applied to mips-fixes.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ