[PATCH 0/3] bootconfig: Reject unexpected data after null character and cleanups

From: Masami Hiramatsu (Google)

Date: Wed Sep 09 2026 - 15:03:14 EST


Hi,

Here are patches for bootconfig to rejects unexpected config data after null
character and other cleanups including tools/bootconfig to consolidate
bootconfig initialization with errors, and skipping internal tree sanity
check in kernel.

The last one is initially reported by Sang-Heon Jeon [1].

[1] https://lore.kernel.org/all/20260905141637.1547429-1-ekffu200098@xxxxxxxxx/

Thank you,

---
base-commit: 13e8b7707efcea3a401d242958ba0a392f227847

Masami Hiramatsu (Google) (3):
bootconfig: Reject unexpected data after null character
tools/bootconfig: Consolidate xbc_init() to error message wrapper
bootconfig: Skip internal tree sanity checks in kernel


lib/bootconfig.c | 45 ++++++++++----
tools/bootconfig/main.c | 112 +++++++++++++++++------------------
tools/bootconfig/test-bootconfig.sh | 12 ++++
3 files changed, 99 insertions(+), 70 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>