Closed Bug 1480315 Opened 2 years ago Closed 2 years ago
coredump caused by getenv since missing header in mozglue/misc/Time
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36 Steps to reproduce: start polkit.service Actual results: report failed since segament fault. Expected results: service start success. Here is the bug analyze: 1. polkit depend on libmozjs-52.so. 2. during startup polkit, the call stack is here: JS::detail::InitWithFailureDiagnostic ->mozilla::TimeStamp::ProcessCreation->getenv(MOZ_APP_RESTART) 3. coredump happened during getenv since missing header stdlib.h, int convert to char* cause coredump 4. patch attached
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/0c617268ad37 Fix coredump caused by getenv. r=glandium
You need to log in before you can comment on or make changes to this bug.