diff options
| author | Kunwu Chan <[email protected]> | 2024-01-19 09:49:48 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2024-02-12 19:14:52 +0000 |
| commit | 3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2 (patch) | |
| tree | 90f2008c1a550d2ad461915cc9d4a079dafec63a /drivers/net/xen-netback/interface.c | |
| parent | xen/xenbus: document will_handle argument for xenbus_watch_path() (diff) | |
| download | kernel-3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2.tar.gz kernel-3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2.zip | |
x86/xen: Add some null pointer checking to smp.c
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 <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Suggested-by: Markus Elfring <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
