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

Christian Franke Christian.Franke@t-online.de
Tue Sep 23 16:01:00 GMT 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffs-crash-on-x86_64.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20140923/83aeb310/attachment.bin>


More information about the Cygwin-patches mailing list