Skip to content

lib/bootconfig: three bug fixes

Josh Law linux-trace-kernel lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 13 repliesIn review 2 of 3 applied
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Added explicit From: lines at top of changelog.

Patches in v2 2 of 3 applied

#Subject and filesSizeRepliesApplied
1/3lib/bootconfig: fix off-by-one in xbc_verify_tree() unclosed brace errorlib/bootconfig.c+1 -13 repliesApplied
2/3lib/bootconfig: check bounds before writing in __xbc_open_brace()lib/bootconfig.c+1 -18 replies
3/3lib/bootconfig: fix snprintf truncation check in xbc_node_compose_key_after()lib/bootconfig.c+1 -12 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteven Rostedt (Google)Josh Law
SeriesA-b
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] lib/bootconfig: three bug fixes

Three fixes for lib/bootconfig.c:

1. Fix off-by-one in xbc_verify_tree() unclosed brace error reporting.
2. Check bounds before writing in __xbc_open_brace() to prevent potential out-of-bounds writes.
3. Fix snprintf truncation check in xbc_node_compose_key_after().

Changes since v1:
- Added explicit From: lines at top of changelog.

Josh Law (3):
lib/bootconfig: fix off-by-one in xbc_verify_tree() unclosed brace
error
lib/bootconfig: check bounds before writing in __xbc_open_brace() lib/bootconfig: fix snprintf truncation check in
xbc_node_compose_key_after()

 lib/bootconfig.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1