• Stefan Brüns's avatar
    Avoid double free/use-after-free of static unique_ptr<> · 3ddbc351
    Stefan Brüns authored
    The processtest autotest crashes as the static ProcessLocal is apparently
    destructed twice from the global destructor list on program exit. The
    issue can be triggered even with a trivial program:
    int main(int argc, char* argv[])
        QApplication app(argc, argv);
        KSysGuardProcessList processList;
process_controller.cpp 10.3 KB