[Bug 12326] SHELL_FindExecutable breaks "mailto:" URL

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 3 12:12:55 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12326





--- Comment #3 from Tefnet developers <developers at tefnet.pl>  2008-04-03 12:12:54 ---
(In reply to comment #2)
> The problem is in function SHELL_execute in line 1714 and 1717.
> 
> 
>             lstrcpynW(wfileName, sei_tmp.lpFile,sizeof(wfileName));
>         }
>     } else
>         lstrcpynW(wfileName, sei_tmp.lpFile,sizeof(wfileName));
> 
>     lpFile = wfileName;
> 

ups...
it should be

            strcpyW(wfileName, sei_tmp.lpFile);
        }
    } else
        strcpyW(wfileName, sei_tmp.lpFile);

    lpFile = wfileName;

code above is possible solution.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list