ntdll: Fix buffer overread in RtlNumberOfSetBits

Aleksey Bragin aleksey at reactos.org
Tue Jan 6 09:13:09 CST 2009


Don't calculate remaining bits if there are none. Fixes out-of-bounds  
read of a buffer.

This is a resend, previous patch (24 Dec 2008) went through incorrectly.

With the best regards,
Aleksey Bragin

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Don-t-calculate-remainding-bits-if-there-are-none.-Fixes-out-of-bounds-read-of-a-buffer.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20090106/a9f188c1/attachment.txt 


More information about the wine-patches mailing list