[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0d65f145-e086-44e5-9ae7-8acb3c3b05e2@suse.com>
Date: Mon, 12 Feb 2024 18:07:39 +0100
From: Juergen Gross <jgross@...e.com>
To: Kunwu Chan <chentao@...inos.cn>, boris.ostrovsky@...cle.com,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>, Markus Elfring <Markus.Elfring@....de>
Subject: Re: [PATCH v3] x86/xen: Add some null pointer checking to smp.c
On 19.01.24 10:49, 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.
>
> Signed-off-by: Kunwu Chan <chentao@...inos.cn>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202401161119.iof6BQsf-lkp@intel.com/
> Suggested-by: Markus Elfring <Markus.Elfring@....de>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3684 bytes)
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists