kpmcore/src/core
Andrius Štikonas 13c063a150 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".

BUG: 381987
2017-07-04 21:07:54 +01:00
..
CMakeLists.txt Initial work on LvmDevice 2016-08-15 17:20:50 +01:00
copysource.cpp Move kpmcore library into its own repository. 2015-06-04 01:29:22 +01:00
copysource.h Rename qglobal.h to QtGlobal 2016-04-18 17:14:31 +01:00
copysourcedevice.cpp Initial Device separation 2016-08-15 17:20:50 +01:00
copysourcedevice.h Remove reduntant virtual keywords. 2016-05-17 18:01:31 +01:00
copysourcefile.cpp Update copyright. 2016-03-02 19:00:31 +00:00
copysourcefile.h Remove reduntant virtual keywords. 2016-05-17 18:01:31 +01:00
copysourceshred.cpp Update copyright. 2016-03-02 19:00:31 +00:00
copysourceshred.h Remove reduntant virtual keywords. 2016-05-17 18:01:31 +01:00
copytarget.cpp Move kpmcore library into its own repository. 2015-06-04 01:29:22 +01:00
copytarget.h Rename qglobal.h to QtGlobal 2016-04-18 17:14:31 +01:00
copytargetdevice.cpp Initial Device separation 2016-08-15 17:20:50 +01:00
copytargetdevice.h Remove reduntant virtual keywords. 2016-05-17 18:01:31 +01:00
copytargetfile.cpp Format kpmcore code using KDE style. 2015-07-13 17:16:36 +03:00
copytargetfile.h Remove reduntant virtual keywords. 2016-05-17 18:01:31 +01:00
device.cpp Add a context to UI string. 2016-09-18 11:55:35 +01:00
device.h Use cached values for resizing volume groups. 2016-09-24 21:09:11 +01:00
devicescanner.cpp Use qAsConst in ranged based for loops. 2017-06-04 22:26:24 +01:00
devicescanner.h Make sure to activate all LVM LVs on start. 2016-08-15 17:20:50 +01:00
diskdevice.cpp Make variable names slightly more consistent thruoght kmpcore. 2016-08-15 17:20:50 +01:00
diskdevice.h Make variable names slightly more consistent thruoght kmpcore. 2016-08-15 17:20:50 +01:00
lvmdevice.cpp QList<QString> -> QStringList. 2017-06-12 12:47:17 +02:00
lvmdevice.h Update copyrights. 2016-11-04 14:20:11 +00:00
mountentry.cpp Update copyright. 2016-03-02 19:00:31 +00:00
mountentry.h Remove remaining ../ from #includes. 2016-05-06 22:36:24 +01:00
operationrunner.cpp Fix a possible null pointer dereference. 2017-07-04 21:07:54 +01:00
operationrunner.h Simplify QStringList->QString conversion. 2016-09-01 22:05:35 +01:00
operationstack.cpp Port qSort. 2017-05-03 19:24:20 +01:00
operationstack.h Remove ResizeVolumeGroup operation from operation stack if it has no jobs. 2016-11-07 18:56:26 +00:00
partition.cpp Handle parent change in Partition copy constructor. 2016-12-01 19:00:39 +01:00
partition.h Handle parent change in Partition copy constructor. 2016-12-01 19:00:39 +01:00
partitionalignment.cpp House-cleaning and removing irrelevant TODO. 2016-08-15 17:20:50 +01:00
partitionalignment.h Remove remaining ../ from #includes. 2016-05-06 22:36:24 +01:00
partitionnode.cpp Simplify if-return code a bit. 2016-08-31 20:14:21 +01:00
partitionnode.h Do not run moc on classes where it is not necessary. 2016-05-22 23:53:17 +01:00
partitionrole.cpp Improve semantic markup of translations. 2016-07-17 23:41:00 +01:00
partitionrole.h Initial Device separation 2016-08-15 17:20:50 +01:00
partitiontable.cpp Use range based for instead of Q_FOREACH. 2017-06-01 11:16:09 +01:00
partitiontable.h Sort LVM LV volumes alphabetically. 2016-11-19 01:36:15 +00:00
smartattribute.cpp [smart] SSD attribute names 2016-08-21 07:44:31 +03:00
smartattribute.h Remove remaining ../ from #includes. 2016-05-06 22:36:24 +01:00
smartstatus.cpp core/smartattribute.h must be included in smartstatus.h for deep copy. 2016-09-07 17:36:20 +02:00
smartstatus.h core/smartattribute.h must be included in smartstatus.h for deep copy. 2016-09-07 17:36:20 +02:00
volumemanagerdevice.cpp Simplify QStringList->QString conversion. 2016-09-01 22:05:35 +01:00
volumemanagerdevice.h More documentations. 2016-08-15 17:20:50 +01:00