]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: tighten parser of EXIT_STATUS= 38110/head
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Jun 2025 08:52:26 +0000 (10:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Jul 2025 04:43:17 +0000 (06:43 +0200)
commit5279acb58d9df0b136f4d2931e7b88c1c09a966a
treef82b27b3532d9959da5bd1b9547be8873baa9f4e
parentba4624ff6cd4c8cf0ca4f16759187fee73e2dbfc
vmspawn: tighten parser of EXIT_STATUS=

The EXIT_STATUS is supposed to encapuslate an ANSI C process exit
status, which is 8bit unsigned. Hence parse it as such, do not accept
negative values, or values > 255.
src/vmspawn/vmspawn.c