wine/loader module.c

Alexandre Julliard julliard at
Tue Mar 18 15:28:51 CST 2003

Eric Pouech <pouech-eric at> writes:

> gives "len is 4/4" on W2K, while we get "len is 3/3" on wine
> when the buffer is too small, GetModuleFileName doesn't put the
> terminating '\0' to the string, while wine does (and my patch didn't)
> (and yes I do have a test sample, but that I haven't finished it yet)

Actually it does get null terminated, but one character too
far... I guess we should add that bug too <g>

Alexandre Julliard
julliard at

More information about the wine-devel mailing list