]> git.ipfire.org Git - thirdparty/systemd.git/commit
ukify: rstrip and escape binary null characters from 'inspect' output (#38607)
authorLi Tian <94442129+litian1992@users.noreply.github.com>
Mon, 18 Aug 2025 21:43:41 +0000 (05:43 +0800)
committerGitHub <noreply@github.com>
Mon, 18 Aug 2025 21:43:41 +0000 (22:43 +0100)
commit776991a3f349d9c99fd166a0c87fcd2bc1bf92a5
treeb6e0f5264b4ea7e47671af9388e44861d97512da
parentc24f405aceb37104c663da332ba9d66d19c0d72b
ukify: rstrip and escape binary null characters from 'inspect' output (#38607)

SBAT section of UKI may contain \u000 null characters. Rstrip them, and if there's anything left in the middle,
escape them so they are displayed as text.

Fixes #38606
src/ukify/ukify.py