Segfault

Kevin Koltzau kevin at plop.org
Fri Apr 30 08:17:13 CDT 2004


On Thursday 29 April 2004 06:56 pm, Kevin Koltzau wrote:
> I'm getting segfaults with current cvs, I've tracked it down to this patch
> http://cvs.winehq.org/patch.py?id=12187
> 
> last few lines in a +relay are
> 0009:Call ntdll.NtCreateKey(bfffcd84,000f003f,bfffe190,00000000,00000000,00000000,00000000) ret=4051e47a
> 0009:Ret  ntdll.NtCreateKey() retval=00000000 ret=4051e47a
> 0009:Call ntdll.RtlInitUnicodeString(bfffc52c,405d616e L"windows") ret=4051e27f
> 0009:Ret  ntdll.RtlInitUnicodeString() retval=00000000 ret=4051e27f
> 0009:Call ntdll.NtQueryValueKey(00000010,bfffc52c,00000002,bfffc534,00000800,bfffc528) ret=4051e2be
> 0009:Ret  ntdll.NtQueryValueKey() retval=00000000 ret=4051e2be
> 0009:Call ntdll.RtlDosPathNameToNtPathName_U(bfffc540 L"c:\\Windows",bfffc49c,00000000,00000000) ret=4053ecd2
> Segmentation fault

I've narrowed it down to a buffer overrun, no idea where yet..but if I force
RtlAllocateHeap to always allocate 1 extra byte, the segfault goes away..



More information about the wine-devel mailing list