зеркало из https://github.com/mozilla/gecko-dev.git
fix for #39873 - crash when no ISP rdf files exist
(no reviewer, just a null-check due to semantic changes in strings)
This commit is contained in:
Родитель
2f5f2674c6
Коммит
53c300b93d
|
@ -135,6 +135,8 @@ nsMsgServiceProviderService::Init()
|
|||
nsCOMPtr<nsIFileSpec> dataFilesDir;
|
||||
rv = GetConvertedChromeURL("chrome://messenger/locale/isp/", getter_AddRefs(dataFilesDir));
|
||||
|
||||
if (NS_FAILED(rv) || !dataFilesDir)
|
||||
return rv;
|
||||
// now enumerate every file in the directory, and suck it into the datasource
|
||||
|
||||
nsCOMPtr<nsIDirectoryIterator> fileIterator =
|
||||
|
|
Загрузка…
Ссылка в новой задаче