diff options
| author | 2024-09-16 12:59:48 +0800 | |
|---|---|---|
| committer | 2024-10-10 12:02:13 +0200 | |
| commit | a98b7761f697e590ed5d610d87fa12be66f23419 (patch) | |
| tree | da0d44f9436a4b65743a73436dd014bb35d74cbb /arch/um/kernel/process.c | |
| parent | um: Remove the redundant declaration of high_physmem (diff) | |
| download | wireguard-linux-a98b7761f697e590ed5d610d87fa12be66f23419.tar.xz wireguard-linux-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 <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/kernel/process.c')
0 files changed, 0 insertions, 0 deletions
