Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754831Ab0GWJ0A (ORCPT ); Fri, 23 Jul 2010 05:26:00 -0400 Received: from cantor2.suse.de ([195.135.220.15]:38095 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752867Ab0GWJZ6 (ORCPT ); Fri, 23 Jul 2010 05:25:58 -0400 Message-ID: <4C49601E.5060605@suse.cz> Date: Fri, 23 Jul 2010 11:25:50 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100520 SUSE/3.0.5 Thunderbird/3.0.5 MIME-Version: 1.0 To: Stephen Boyd Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nir Tzachar Subject: Re: [PATCH] nconfig: Fix segfault when help contains special characters References: <1279868654-15743-1-git-send-email-bebarino@gmail.com> In-Reply-To: <1279868654-15743-1-git-send-email-bebarino@gmail.com> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 15 On 23.7.2010 09:04, Stephen Boyd wrote: > nconfig segfaults when help text contains the character '%'. For a quick > example, navigate to the kernel compression options and get the help for > bzip2. Doing so triggers a call to mvwprintw() with a string containing > '%' and no extra arguments to fill in the specifier's value. Fix this > case by printing the literal string retrieved from the kconfig. Thanks, applied. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/