Fix segfault on no restart args

Authored by jpalecek on Jun 7 2020, 9:20 AM.

Description

Fix segfault on no restart args

Summary:
When an application is crashing through KCrash, but has no restart
argument list, KCrash itself crashes because s_autoRestartCommandLine
is null (when it wants to print the command line to stdout). This
patch fixes that by making sure s_autoRestartCommandLine is always
non-null.

Depends on D29810
Signed-off-by: Jiří Paleček <jpalecek@web.de>

Reviewers: Frameworks, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D29814

Details

Committed
dfaureJun 7 2020, 9:22 AM
Reviewer
dfaure
Differential Revision
D29814: Fix segfault on no restart args
Parents
R285:8f1f59ee94a1: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.71.0 release.
Branches
Unknown
Tags
Unknown