[PATCH] Fix crash of ffs (0x80000000) on 64 bit

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Oct 8 16:35:00 GMT 2014


On Sep 23 18:01, Christian Franke wrote:
> This fixes the issue reported here:
> https://cygwin.com/ml/cygwin/2014-09/msg00341.html
> 
> On 64 bit, i = 0x80000000 results in x = 0xffffffff80000000 due to sign
> extension.
> 
> Christian
> 

> 2014-09-23  Christian Franke  <...>
> 
> 	* syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20141008/f5f59d3d/attachment.sig>


More information about the Cygwin-patches mailing list