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: <153109419548.143105.6202239165158958607@swboyd.mtv.corp.google.com>
Date:   Sun, 08 Jul 2018 16:56:35 -0700
From:   Stephen Boyd <sboyd@...nel.org>
To:     Mikko Perttunen <mperttunen@...dia.com>, jonathanh@...dia.com,
        mturquette@...libre.com, pdeschrijver@...dia.com,
        thierry.reding@...il.com
Cc:     linux-clk@...r.kernel.org, linux-tegra@...r.kernel.org,
        linux-kernel@...r.kernel.org, swarren@...dia.com,
        vbhadram@...dia.com, Mikko Perttunen <mperttunen@...dia.com>
Subject: Re: [PATCH] clk: tegra: bpmp: Don't crash when a clock fails to register

Quoting Mikko Perttunen (2018-06-29 07:38:14)
> When registering clocks, we just skip any that fail to register
> (leaving a NULL hole in the clock table). However, our of_xlate
> function still tries to dereference each entry while looking for
> the clock with the requested id, causing a crash if any clocks
> failed to register. Add a check to of_xlate to skip any NULL
> clocks.
> 
> Signed-off-by: Mikko Perttunen <mperttunen@...dia.com>
> ---

Applied to clk-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ