Fix crash in WritePrivateProfileString

Thomas Charbonnel thomas at undata.org
Tue May 27 15:18:34 CDT 2003


Hi,

This fixes a crash in WritePrivateProfileString when the lpFileName
parameter was NULL. The behaviour is modeled after what I tested on
Windows machines: 9x/Me returns FALSE and nothing is done, NT/2K/XP
attempts to write the entry in the win.ini file and returns the
appropriate value.

Thomas


Changelog:
    Thomas Charbonnel <thomas at undata.org>
    Fix crash in WritePrivateProfileString


-------------- next part --------------
A non-text attachment was scrubbed...
Name: private_profile.patch
Type: application/octet-stream
Size: 780 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030527/45d65f12/private_profile.obj


More information about the wine-patches mailing list