зеркало из https://github.com/mozilla/gecko-dev.git
Bug 107355 - fix crash when leaving root directory of an ftp server after
accessing another dir. r=dougt, sr=scc.
This commit is contained in:
Родитель
fa25ff0952
Коммит
4fa674ac6e
|
@ -1857,7 +1857,7 @@ nsFtpState::Init(nsIFTPChannel* aChannel,
|
|||
fwdPtr++;
|
||||
if (*fwdPtr == '\0') {
|
||||
// make it at least a dot
|
||||
mPath.Adopt(".");
|
||||
mPath.Adopt(nsCRT::strdup("."));
|
||||
} else {
|
||||
// now unescape it
|
||||
char *unescPath = nsnull;
|
||||
|
|
Загрузка…
Ссылка в новой задаче