]> git.ipfire.org Git - thirdparty/systemd.git/commit
pcrextend: refuse empty measurement over Varlink 42698/head
authorPaul Meyer <katexochen0@gmail.com>
Wed, 17 Jun 2026 16:03:55 +0000 (18:03 +0200)
committerPaul Meyer <katexochen0@gmail.com>
Tue, 23 Jun 2026 05:38:32 +0000 (07:38 +0200)
commite514dadd1c3f8244d8dd7a420a4f89c2dd26e4de
tree3a55c2b3018137d2bd4ef8d29eb5b903bf06bfa8
parent662e02a5f8489937e072d8459af560034864469d
pcrextend: refuse empty measurement over Varlink

vl_method_extend() accepted an empty text/data value and measured an
empty word, bypassing the empty-word refusal the CLI path already
enforces. Measured words are joined with ":" in the record, so an empty
word is ambiguous. Reject it.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
src/pcrextend/pcrextend.c