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: <4cb63482-82e4-36b5-dce9-078d0946c71e@gmail.com>
Date:   Wed, 5 Apr 2023 14:58:34 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     linux-kernel@...r.kernel.org
Cc:     Jan Kiszka <jan.kiszka@...mens.com>,
        Kieran Bingham <kbingham@...nel.org>,
        akpm@...ux-foundation.org, kapil.hali@...adcom.com
Subject: Re: [PATCH] scripts/gdb: add a Radix Tree Parser

On 4/4/23 14:40, Florian Fainelli wrote:
[snip]
> +    shift = node['shift'] + constants.LX_RADIX_TREE_MAP_SHIFT
> +
> +    while True:
> +        offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK
> +        slot = node['slots'][offset]

We need to check for slot == 0 here, unless there are other comments, I 
will spin a v2 with that change.
-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ