mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 20:42:33 -04:00
The kasprintf function can return NULL if the allocation fails. Check for successful allocation before attempting to use the returned buffer. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>