Thread (20 messages) 20 messages, 4 authors, 2023-06-20

Re: [PATCH 1/8] clk: vc5: check memory returned by kasprintf()

From: Stephen Boyd <sboyd@kernel.org>
Date: 2023-06-20 18:54:02
Also in: linux-clk, linux-omap, lkml

Quoting Claudiu Beznea (2023-05-30 02:39:06)
kasprintf() returns a pointer to dynamically allocated memory.
Pointer could be NULL in case allocation fails. Check pointer validity.
Identified with coccinelle (kmerr.cocci script).

Fixes: f491276a5168 ("clk: vc5: Allow Versaclock driver to support multiple instances")
Signed-off-by: Claudiu Beznea <redacted>
---
Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help