diff options
| author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-09-16 12:59:48 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-10 12:02:13 +0200 |
| commit | a98b7761f697e590ed5d610d87fa12be66f23419 (patch) | |
| tree | da0d44f9436a4b65743a73436dd014bb35d74cbb /arch/um/include/shared/mem_user.h | |
| parent | um: Remove the redundant declaration of high_physmem (diff) | |
| download | linux-a98b7761f697e590ed5d610d87fa12be66f23419.tar.gz 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/include/shared/mem_user.h')
0 files changed, 0 insertions, 0 deletions
