[PATCH] ntdll/tests: Fix the test_process_params() size check.

Zebediah Figura (she/her) zfigura at codeweavers.com
Wed Jun 23 11:01:03 CDT 2021


On 6/23/21 10:47 AM, Francois Gouget wrote:
> On Wed, 23 Jun 2021, Zebediah Figura (she/her) wrote:
> [...]
>> I did some extensive tests of this; Windows really doesn't align the initial
>> parameters (and only initial parameters) size, but Wine does.
> 
> So it's the ROUND_SIZE() in append_unicode_string() called by
> RtlCreateProcessParametersEx() that's wrong?
> 
> https://source.winehq.org/git/wine.git/blob/5c756468656afc9207c0f51f774bbc29267e1469:/dlls/ntdll/env.c#l512
> 

It is, but only for the initial process parameters. See the above tests 
for RtlCreateProcessParametersEx().



More information about the wine-devel mailing list