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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 6 Jan 2014 12:23:13 +0100
From:	Arend van Spriel <arend@...adcom.com>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: Build regressions/improvements in v3.13-rc7

On 01/06/2014 10:01 AM, Geert Uytterhoeven wrote:
>   + /scratch/kisskb/src/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c: warning: 'str_mask' may be used uninitialized in this function [-Wuninitialized]:  => 789:19
>   + /scratch/kisskb/src/drivers/net/wireless/brcm80211/brcmfmac/sdio_chip.c: warning: 'str_shift' may be used uninitialized in this function [-Wuninitialized]:  => 790:21

This is a false negative. These variables are used within 'if (strtab !=
NULL) {...}'. strtab is initialized to NULL and when set to non-NULL
also str_mask and str_shift are set.

So it seems gcc falls short on -Wuninitialized here.

Regards,
Arend
--
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