ddraw: make some driver info not const

Vitaliy Margolen wine-devel at kievinfo.com
Fri Dec 2 13:11:34 CST 2005


Friday, December 2, 2005, 11:46:39 AM, Rein Klazes wrote:
> Hi,
[skip]
> Making this information not const makes the application proceed further.

> Changelog:
> dlls/ddraw	: ddraw_hal.c, ddraw_user.c
> Make some driver info not const, some applications want to modify it.

This is wrong. No user program should modify our internal data. I think
you need to copy this data into heap before passing it to the app. You
should make simple test to check if the data returned on windows is
within heap or not.

Vitaliy




More information about the wine-devel mailing list