
6 Dec
2023
6 Dec
'23
12:23 a.m.
On sandbox it's possible to trigger NULL dereference when setting rate of a composite clock. It happens because sandbox composite divider does not implement set_rate() operation. This series adds NULL check and a test cases for clk_set_rate().
Igor Prusov (2): clk: Check that composite clock's div has set_rate() dm: test: clk: Add test for ccf clk_set_rate()
drivers/clk/clk-composite.c | 2 +- test/dm/clk_ccf.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)
--
2.34.1