Open Bug 454608 Opened 11 years ago Updated 11 years ago
Problem around ns
Process Common .cpp
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:126.96.36.199) Gecko/2008070208 Firefox/3.0.1 Build Identifier: See http://hg.mozilla.org/mozilla-central/annotate/812cba61c099/xpcom/threads/nsProcessCommon.cpp#l253 It passes NULL as program name. But, according to MSDN Library, When program to be executed is "C:\Program Files\Apps\App.exe", and "C:\Program.exe" exists on "C:\", CreateProcess will run "C:\Program.exe", not "C:\Program Files\Apps\App.exe". Reproducible: Always Steps to Reproduce: 1. 2. 3. I'm also afraid that assembleCmdLine may escape secod byte of Shift_JIS encoded filename incorrectly because it parameter is char**, not PRUnichar **.
You need to log in before you can comment on or make changes to this bug.