summaryrefslogtreecommitdiff
path: root/arch/um/drivers/virtio_uml.c
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2024-09-16 07:59:48 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-10-10 13:02:13 +0300
commita98b7761f697e590ed5d610d87fa12be66f23419 (patch)
treeda0d44f9436a4b65743a73436dd014bb35d74cbb /arch/um/drivers/virtio_uml.c
parent855f6e18dff26fb13968a73998b0d0ff38865b51 (diff)
downloadlinux-a98b7761f697e590ed5d610d87fa12be66f23419.tar.xz
um: Fix potential integer overflow during physmem setup
This issue happens when the real map size is greater than LONG_MAX, which can be easily triggered on UML/i386. Fixes: fe205bdd1321 ("um: Print minimum physical memory requirement") Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20240916045950.508910-3-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions