Re: Problem with NtReadVirtualMemory and wine server connection

2006-09-27 Thread Vitaliy Margolen
Juan Lang wrote: >> 1. allocate a temporary buffer in NtReadVirtualMemory, read server >> answer to this buffer, and then inside a try / catch block copy to >> application memory > > This would be my preference, for two reasons: > 1. This would allow the test to pass, that is, we could successfull

Re: Problem with NtReadVirtualMemory and wine server connection

2006-09-27 Thread Juan Lang
Hi Peter, I'm guessing the fact that no one has replied means that no one has a strong opinion, or no one feels qualified to answer, or that AJ would prefer to see a patch first. I'll give my opinion in the hope of stimulating discussion, as I think it's important. > 1. allocate a temporary buffe

Problem with NtReadVirtualMemory and wine server connection

2006-09-26 Thread Peter Oberndorfer
Hi, throught a problem in winedbg i found out that NtReadVirtualMemory has a problem, when reading into a invalid local buffer. it uses wine_server_set_reply( req, buffer, size ); to read the data supplied by the server directly into application memory of unknown state. when the read call hits ba