GetModuleFileName

Eric Pouech pouech-eric at wanadoo.fr
Sun Apr 18 14:36:26 CDT 2004


Eric Pouech a écrit :
> 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+
Alexandre didn't like the way to copy back the buffer. Here's another 
version of it.
A+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmfn.diff
Type: text/x-patch
Size: 25216 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040418/d6e65149/gmfn.bin


More information about the wine-patches mailing list