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>] [day] [month] [year] [list]
Date:	Tue, 26 Jan 2016 20:29:36 +0100
From:	Toralf Förster <toralf.foerster@....de>
To:	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: v4.5-rc1 : arch/x86/kernel/hw_breakpoint.c:360:20: warning: ‘align’ may be used uninitialized

As a n00b I do wonder about he following warning:


  CC      arch/x86/kernel/hw_breakpoint.o
arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’:
arch/x86/kernel/hw_breakpoint.c:360:20: warning: ‘align’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (info->address & align)
                    ^

at a 32 bit Gentoo KVM. Why isn't "align" set to some value in the "default:" branch of the switch above -or- why there is a "default:" there if it can't be reached ?

-- 
Toralf, pgp: C4EACDDE 0076E94E

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ