diff options
author | Peng Hao <[email protected]> | 2021-12-22 09:12:25 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-01-14 18:50:53 -0500 |
commit | cf4a4493ff70874f8af26d75d4346c591c298e89 (patch) | |
tree | 7e944aeaf81849d94d637ee6decba4b528b781ff /net/lapb/lapb_timer.c | |
parent | 2b68224ec61bb66aa2a24ad099b6af65138fa888 (diff) |
virtio/virtio_mem: handle a possible NULL as a memcpy parameter
There is a check for vm->sbm.sb_states before, and it should check
it here as well.
Signed-off-by: Peng Hao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Fixes: 5f1f79bbc9e2 ("virtio-mem: Paravirtualized memory hotplug")
Cc: [email protected] # v5.8+
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions