mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@canonical.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Whitcroft <apw@canonical.com>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/1] Fix kconfig core dumps running make oldconfig
Date: Mon,  1 Nov 2010 21:01:43 +0000	[thread overview]
Message-ID: <1288645304-2794-1-git-send-email-apw@canonical.com> (raw)

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 <mmarek@suse.cz>
  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(-)


             reply	other threads:[~2010-11-01 21:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 21:01 Andy Whitcroft [this message]
2010-11-01 21:01 ` [PATCH 1/1] kconfig: sym_expand_string_value: allow for string termination when reallocing Andy Whitcroft
2010-11-25 14:23   ` Michal Marek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1288645304-2794-1-git-send-email-apw@canonical.com \
    --to=apw@canonical.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®