On 26.04.2016 22:35, Theodore Dubois wrote:
I have both a custom wine loader and a hacked version of Wine, so I just reverted the patch.
It would be really nice to have this work for when I’m not using a custom loader. Maybe you could check if argv is in the malloc heap? Or maybe I could somehow indicate when calling wine_init that the argv is malloced?
~Theodore
May I ask why you are not just allocating the argv array in a way compatible to the OS? When you have full control in your custom loader, this should be trivial and the easiest way to fix it.
Regards, Sebastian