linux_dsm_epyc7002/drivers/clk/ti
Colin Ian King df2f845167 clk: ti: check for null return in strrchr to avoid null dereferencing
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>
2017-08-31 18:44:13 -07:00
..
adpll.c clk: ti: check for null return in strrchr to avoid null dereferencing 2017-08-31 18:44:13 -07:00
apll.c clk: ti: make clk_ops const 2017-08-23 15:53:25 -07:00
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: ti: omap4: add clkctrl clock data 2017-06-15 10:48:08 +03:00
clk-54xx.c
clk-814x.c
clk-816x.c
clk-dra7-atl.c
clk.c
clkctrl.c clk: ti: omap4: add clkctrl clock data 2017-06-15 10:48:08 +03:00
clkt_dflt.c
clkt_dpll.c
clkt_iclk.c
clock.h clk: ti: omap4: add clkctrl clock data 2017-06-15 10:48:08 +03:00
clockdomain.c clk: Convert to using %pOF instead of full_name 2017-07-21 15:49:54 -07:00
composite.c
divider.c clk: ti: divider: try to fix ti_clk_register_divider 2017-04-28 11:07:09 -07:00
dpll3xxx.c
dpll44xx.c
dpll.c
fapll.c clk: ti: make clk_ops const 2017-08-23 15:53:25 -07:00
fixed-factor.c
gate.c
interface.c
Kconfig
Makefile clk: ti: add support for clkctrl clocks 2017-06-15 10:47:43 +03:00
mux.c