mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-27 20:01:59 +07:00
df2f845167
strrchr can potentially return a null so the following strlen on the null pointer can cause a null dereference. Add a check to see if the string postfix is not null before calling strlen. Detected by CoverityScan, CID#1452039 ("Dereference null return") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> |
||
---|---|---|
.. | ||
adpll.c | ||
apll.c | ||
autoidle.c | ||
clk-2xxx.c | ||
clk-3xxx-legacy.c | ||
clk-3xxx.c | ||
clk-7xx.c | ||
clk-33xx.c | ||
clk-43xx.c | ||
clk-44xx.c | ||
clk-54xx.c | ||
clk-814x.c | ||
clk-816x.c | ||
clk-dra7-atl.c | ||
clk.c | ||
clkctrl.c | ||
clkt_dflt.c | ||
clkt_dpll.c | ||
clkt_iclk.c | ||
clock.h | ||
clockdomain.c | ||
composite.c | ||
divider.c | ||
dpll3xxx.c | ||
dpll44xx.c | ||
dpll.c | ||
fapll.c | ||
fixed-factor.c | ||
gate.c | ||
interface.c | ||
Kconfig | ||
Makefile | ||
mux.c |