msi: WriteRegistryData advoid NULL data

Alexandre Julliard julliard at winehq.org
Tue Mar 22 14:44:05 CST 2005


Aric Stewart <aric at codeweavers.com> writes:

> Win9x RegSetValueExW does not deal with NULL data. so make the data an
> empty string instead of null

The value is freed later on so this will cause trouble. A better fix
is probably to not specify REG_SZ if you are not passing a valid
string.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list