lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0607241424360.6762@scrub.home>
Date:	Mon, 24 Jul 2006 14:25:32 +0200 (CEST)
From:	Roman Zippel <zippel@...ux-m68k.org>
To:	Sam Ravnborg <sam@...nborg.org>
cc:	LKML <linux-kernel@...r.kernel.org>, Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH 2/3] kconfig/lxdialog: add support for color themes and
 add blackbg theme

Hi,

On Mon, 24 Jul 2006, Sam Ravnborg wrote:

> +static int set_color_theme(const char *theme)
> +{
> +	int use_color = 1;
> +	if (!strncasecmp (theme, "blackbg", sizeof("blackbg")))
> +		set_blackbg_theme();
> +	else if (!strncasecmp(theme, "mono", sizeof("mono")))
> +		use_color = 0;
> +	return use_color;
> +}

This segfaults if MENUCONFIG_COLOR isn't set.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ