[ntdll] load all dll sections no matter what attributes say

Vitaliy Margolen wine-devel at kievinfo.com
Sat Jul 2 09:47:39 CDT 2005


Saturday, July 2, 2005, 12:33:19 AM, you wrote:
> Vitaliy Margolen a écrit :
>> Vitaliy Margolen
>> 
>> changelog:
>>   dlls/ntdll/virtual.c
>>     Load all dll sections no matter what attributes say
> why do you need this ?
> A+

I have found a dll that have one section marked as
IMAGE_SCN_CNT_UNINITIALIZED_DATA. But dll_init entry is jumping right to the
beginning of this section. Which results in immediate segfault.

So native mast be loading this section or this program wouldn't ever run.

I also sent this dll to AJ and he ok'ed the change.

Vitaliy





More information about the wine-devel mailing list