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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Feb 2009 08:42:50 +0100
From:	Martin Michlmayr <tbm@...ius.com>
To:	Ralf Baechle <ralf@...ux-mips.org>
Cc:	Roland McGrath <roland@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: "elf core dump: fix get_user use" breaks mips compilation

* Ralf Baechle <ralf@...ux-mips.org> [2009-02-16 23:32]:
> Partially expanding get_user() the code basically does this:
> 
> 	int word;
> 
> 	if (access_ok(...))
> 		__get_user(word, header);
> 	else
> 		word = 0;
> 
> And gcc is unable to figure out that word will always be assigned to by
> both paths of the if statement.  Older gcc versions used to have that
> problem.  I can't reproduce your problem with gcc 4.3.2 and I assume
> you're using something older than that?

Yes, gcc 4.1.
-- 
Martin Michlmayr
http://www.cyrius.com/
--
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