[PATCH 1/3] ntdll: Only set owned bits in RTL_BITMAP

Alexandre Julliard julliard at winehq.org
Thu Jul 5 02:10:00 CDT 2018


MichaƂ Janiszewski <janisozaur at gmail.com> writes:

> It looks like your way indeed solves the problem as I am no longer
> able to observe the issue I saw earlier and I simply have not fully
> understood the way you rewrote the code.

The way it works is that start and count have already been checked
against the bitmap size, so we can assume that the mask's high bits
won't be set if they wouldn't fit, there's no need to check the size
again.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list