GetModuleFileName

Eric Pouech pouech-eric at wanadoo.fr
Sun Apr 18 13:37:31 CDT 2004


Interestingly enough, GetModuleFileName[AW] doesn't '\0'-terminate the 
buffer if it is too small
Our current implementation was terminating the buffer.
This patch fixes this, and adds a test case for that behavior and 
patches all the places in wine which are potentially impacted by it
A+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmfn.diff
Type: text/x-patch
Size: 25092 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040418/9c16e764/gmfn.bin


More information about the wine-patches mailing list