RtlFillMemory fails on block sizes over 0x7fffffff

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jul 29 20:21:00 GMT 2015

On Jul 29 16:29, Petrovski, Roman wrote:
> Sure, in case you decide to go with the patch meanwhile, please use
> the one attached to this email. The original wrongly uses n instead of
> size for copying the memory.

I applied a patch which changes memset, memmove, memcpy, wmemset, wmemmove 
and wmemcpy to assembler code based on the NetBSD implementation.

> As this is fairly critical issue, do you know when users should expect
> a  fix to become available in the binary release?

Hmm, it wasn't that critical for the last couple of years... ;)

Either way, I'm just creating a 2.2.0-0.5 test release which I'll upload
and announce in a couple of minutes.  Please give it a try.

Since I'm AFK for the rest of the week, the official 2.2.0-1 release
will occur next week.


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/20150729/e99b51b4/attachment.sig>

More information about the Cygwin-patches mailing list