Skip to content

Fix compilation errors on GCC12

Tales Aparecida amd-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2objtool: Fix truncated string warningtools/objtool/check.c+1 -10 replies
2/2libsubcmd: Fix use-after-free for realloc(..., 0)tools/lib/subcmd/subcmd-util.h+2 -90 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchValdis KlētnieksJustin M. ForbesJosh Poimboeuf
1/2
2/2T-b T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [GIT CHERRY-PICK 0/2] Fix compilation errors on GCC12

Hello Alex,

I believe you are already working on a rebase right now, but could you please cherry-pick these two commits from torvalds/master to fix compilation errors raised by GCC12 in the meantime?

SHA-1:    82880283d7fcd0a1d20964a56d6d1a5cc0df0713
patch-id: 684ed745d944c90c2aae3c9eda5a4f5aa9cd48e5
SHA-1:    52a9dab6d892763b2a8334a568bd4e2c1a6fde66
patch-id: 6b15e90354234809c3e054332d5d37612c5995dc

Thanks in advance,
Tales

Kees Cook (1):
libsubcmd: Fix use-after-free for realloc(..., 0)

Sergei Trofimovich (1):
objtool: Fix truncated string warning

 tools/lib/subcmd/subcmd-util.h | 11 ++---------
 tools/objtool/check.c          |  2 +-
 2 files changed, 3 insertions(+), 10 deletions(-)
Signature · 1 line
2.37.0