Re: [PATCH] powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu

From
Michael Ellerman <hidden>
Date
2023-12-07 12:44:35
Also in
lkml
Reply to
Kunwu Chan, 2023-11-22
On Wed, 22 Nov 2023 11:06:51 +0800, Kunwu Chan wrote:
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
Applied to powerpc/next.

[1/1] powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
      https://git.kernel.org/powerpc/c/45b1ba7e5d1f6881050d558baf9bc74a2ae13930

cheers
Thread (2 messages) 2 messages, 2 authors, last reply 2023-12-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help