diff options
author | 2023-01-09 20:03:06 +0100 | |
---|---|---|
committer | 2023-01-19 13:30:01 +0100 | |
commit | 147c48791be34f3d28faa00b625780c881095be9 (patch) | |
tree | 26ac8735d0d48c452e62174d6de16c6399e38215 /linux-user/syscall.c | |
parent | ui: Check numeric part of expire_password argument @time properly (diff) | |
download | qemu-147c48791be34f3d28faa00b625780c881095be9.tar.xz qemu-147c48791be34f3d28faa00b625780c881095be9.zip |
ui: Fix silent truncation of numeric keys in HMP sendkey
Keys are int. HMP sendkey assigns them from the value strtoul(),
silently truncating values greater than INT_MAX. Fix to reject them.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230109190321.1056914-3-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions