diff options
| author | Tiwei Bie <[email protected]> | 2024-09-16 04:59:48 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-10-10 10:02:13 +0000 |
| commit | a98b7761f697e590ed5d610d87fa12be66f23419 (patch) | |
| tree | da0d44f9436a4b65743a73436dd014bb35d74cbb /arch/um/drivers/virtio_uml.c | |
| parent | um: Remove the redundant declaration of high_physmem (diff) | |
| download | kernel-a98b7761f697e590ed5d610d87fa12be66f23419.tar.gz kernel-a98b7761f697e590ed5d610d87fa12be66f23419.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
0 files changed, 0 insertions, 0 deletions
