D29814: Fix segfault on no restart args
Jiří Paleček
noreply at phabricator.kde.org
Sun May 17 18:52:48 BST 2020
jpalecek created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
jpalecek requested review of this revision.
REVISION 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 D29813 <https://phabricator.kde.org/D29813>
Signed-off-by: Jiří Paleček <jpalecek at web.de>
REPOSITORY
R285 KCrash
BRANCH
for-upstream
REVISION DETAIL
https://phabricator.kde.org/D29814
AFFECTED FILES
src/kcrash.cpp
To: jpalecek
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200517/90f83704/attachment.htm>
More information about the Kde-frameworks-devel
mailing list