Thread (2 messages) 2 messages, 2 authors, 2023-12-21

Re: [PATCH v3] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add

From: Michael Ellerman <hidden>
Date: 2023-12-21 10:40:57
Also in: lkml

On Mon, 04 Dec 2023 10:32:23 +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/mm: Fix null-pointer dereference in pgtable_cache_add
      https://git.kernel.org/powerpc/c/f46c8a75263f97bda13c739ba1c90aced0d3b071

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help