Skip to content

Fix kconfig core dumps running make oldconfig

Andy Whitcroft linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1kconfig: sym_expand_string_value: allow for string termination when reallocingscripts/kconfig/symbol.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Fix kconfig core dumps running make oldconfig

When running make oldconfig cirtain configurations kconfig will coredump. This is triggered by an issue calculating the length of the result of expanding symbol values containing variables. This prevents builds on these configs.

This bug was exposed by the commit below which _correctly_ fixed the usage of realloc():

commit 19c29f326075e2c66e34d98f2a0cf22901b2d8e9
Author: Michal Marek <[email protected]>
Date: Thu Sep 30 22:21:12 2010 +0200

kconfig: Fix realloc usage()

-apw

Andy Whitcroft (1):
kconfig: sym_expand_string_value: allow for string termination when
reallocing

 scripts/kconfig/symbol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)