]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysupdate: Check that --instances-max is in bounds
authorAdrian Vovk <adrianvovk@gmail.com>
Sat, 22 Jun 2024 00:49:48 +0000 (20:49 -0400)
committerAdrian Vovk <adrianvovk@gmail.com>
Thu, 22 Aug 2024 20:00:44 +0000 (16:00 -0400)
commit0402bf682fb3b11bd4fd36969abf5426f24c3dde
tree04d813ea4a4fc03cf3995092198e9664c2190c4a
parent79348036342e80eefd59e9828c664b95c19319bc
sysupdate: Check that --instances-max is in bounds

Otherwise user can pass in --instances-max=0 and crash sysupdate with an
assertion failure.
man/systemd-sysupdate.xml
src/sysupdate/sysupdate.c