shell32: try to guess the working directory in the run dialog
Vincent Povirk
madewokherd+8cd9 at gmail.com
Tue Oct 21 20:22:18 CDT 2008
I suppose it is possible for the string to not be null-terminated if
the command line ends in a backslash. I'll fix that and resend.
Vincent Povirk
On Tue, Oct 21, 2008 at 8:14 PM, Juan Lang <juan.lang at gmail.com> wrote:
> Hi Vincent,
>
> + while (*src)
> + {
> + *dest = *src;
> + if (*src == '\\')
> + {
> + DWORD attrs = GetFileAttributesW(result);
>
> It sure looks like you're calling GetFileAttributesW with a
> non-NULL-terminated string. I doubt this will work as you intend.
> --Juan
>
>
>
More information about the wine-devel
mailing list