linux/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: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clk-2xxx.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-3xxx-legacy.c clk: ti: Include clk.h 2015-07-20 11:11:28 -07:00
clk-3xxx.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clk-7xx.c clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message 2016-12-08 15:09:12 -08:00
clk-33xx.c clk: ti: am335x/am4372: Add tbclk to pwm node 2016-06-10 03:25:04 -07:00
clk-43xx.c ARM: DT updates for v4.8 2016-08-01 18:37:45 -04:00
clk-44xx.c clk: ti: omap4: add clkctrl clock data 2017-06-15 10:48:08 +03:00
clk-54xx.c clk: ti: dra7: fix kernel boot with arg 'clocksource=gp_timer' 2016-04-15 17:30:07 -07:00
clk-814x.c clk: ti: Fix some errors found by static checkers 2016-03-01 16:21:25 -08:00
clk-816x.c clk: ti816x: Add missing dmtimer clkdev entries 2015-11-24 11:30:27 +02:00
clk-dra7-atl.c clk: ti: use automatic clock alias generation framework 2017-03-08 12:58:18 +02:00
clk.c clk: ti: fix building without legacy omap3 2017-04-21 19:01:39 -07:00
clkctrl.c clk: ti: omap4: add clkctrl clock data 2017-06-15 10:48:08 +03:00
clkt_dflt.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt_dpll.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt_iclk.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
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 clk: ti: enforce const types on string arrays 2017-03-08 13:00:25 +02:00
divider.c clk: ti: divider: try to fix ti_clk_register_divider 2017-04-28 11:07:09 -07:00
dpll3xxx.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
dpll44xx.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
dpll.c clk: ti: fix linker error with !SOC_OMAP4 2017-04-21 19:01:18 -07:00
fapll.c clk: ti: make clk_ops const 2017-08-23 15:53:25 -07:00
fixed-factor.c clk: ti: use automatic clock alias generation framework 2017-03-08 12:58:18 +02:00
gate.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
interface.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
Kconfig clk: ti: Add support for dm814x ADPLL 2016-03-01 16:21:25 -08:00
Makefile clk: ti: add support for clkctrl clocks 2017-06-15 10:47:43 +03:00
mux.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00