Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 May 2013 20:15:11 +0200
From: magnum <john.magnum@...hmail.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: Core: build warning

Solar,

I get this for some builds:

inc.c: In function ‘do_incremental_crack’:
inc.c:478: warning: comparison is always false due to limited range of data type

Here's the "offending" code:

	if (header->count > CHARSET_SIZE)
		inc_format_error(charset);

Well it's not really a bug... so maybe just wrap that in #if CHARSET_SIZE < 255 to avoid the warning?

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ