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

Masami Hiramatsu (Google) posted 3 patches 2 weeks, 2 days ago
There is a newer version of this series
lib/bootconfig.c                    |   45 ++++++++++----
tools/bootconfig/main.c             |  112 +++++++++++++++++------------------
tools/bootconfig/test-bootconfig.sh |   12 ++++
3 files changed, 99 insertions(+), 70 deletions(-)
[PATCH 0/3] bootconfig: Reject unexpected data after null character and cleanups
Posted by Masami Hiramatsu (Google) 2 weeks, 2 days ago
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@gmail.com/

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@kernel.org>