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

Andrius Štikonas <andr...@stikonas.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kpm
                   |                            |core/13c063a1500c34b33b25a8
                   |                            |008394af2cb65534ac

--- Comment #4 from Andrius Štikonas <andr...@stikonas.eu> ---
Git commit 13c063a1500c34b33b25a8008394af2cb65534ac by Andrius Štikonas.
Committed on 04/07/2017 at 20:07.
Pushed by stikonas into branch 'master'.

Fix a possible null pointer dereference.

On some systems getlogin() function might fail to obtain user name.
For now just check whether pointer is nullptr. In that case suspending
plasma device automounter would not work but at least we will not crash.

In future it might make sense to try to use other methods of obtaining login
name, such as running "who am i".

M  +8    -2    src/core/operationrunner.cpp

https://commits.kde.org/kpmcore/13c063a1500c34b33b25a8008394af2cb65534ac

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to