[konsole] [Bug 391447] konsole crash when pasting text

Kurt Hindenburg bugzilla_noreply at kde.org
Sat Apr 14 10:25:23 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=391447

Kurt Hindenburg <kurt.hindenburg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kon
                   |                            |sole/916ff8f8295eaecc0eb7c3
                   |                            |807f4a7a6e4fe408b4

--- Comment #1 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 916ff8f8295eaecc0eb7c3807f4a7a6e4fe408b4 by Kurt Hindenburg, on
behalf of Ahmad Samir.
Committed on 14/04/2018 at 10:25.
Pushed by hindenburg into branch 'master'.

Check for valid _foregroundProcessInfo to prevent crash

Summary:
In Session::getUrl() check that _foregroundProcessInfo is valid before
tyring to access its members.

I couldn't reproduce the crash from the BR, but it is logical to call
isValid() before accessing any ProcessInfo object members.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: #konsole

Tags: #konsole

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

M  +1    -1    src/Session.cpp

https://commits.kde.org/konsole/916ff8f8295eaecc0eb7c3807f4a7a6e4fe408b4

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list