]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-setup: terminate the option array
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Oct 2023 15:52:19 +0000 (17:52 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 25 Oct 2023 16:18:48 +0000 (18:18 +0200)
commit91893f772b060ebb72cdebc12dfbd2bf69bcc1f5
tree14d42c006b347cbc127a37908d081f44492b0d8b
parentaf70e2021ed228a6a001ed21f956d8870b7d9f0d
tpm2-setup: terminate the option array

Otherwise bad things happen:

$ build/systemd-tpm2-setup --foo
Segmentation fault (core dumped)
src/tpm2-setup/tpm2-setup.c