diff --git a/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp b/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp index a70f7023088..c7aeecf7993 100755 --- a/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp +++ b/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp @@ -298,6 +298,9 @@ bool MinidumpCallback(const XP_CHAR* dump_path, if (pid == -1) return false; else if (pid == 0) { + // need to clobber this, as libcurl might load NSS, + // and we want it to load the system NSS. + unsetenv("LD_LIBRARY_PATH"); (void) execl(crashReporterPath, crashReporterPath, minidumpPath, (char*)0); _exit(1);