This commit is contained in:
parent
9a2f81fc84
commit
65c8d5c413
@ -12,11 +12,11 @@ That way it's only an impact on usability.
|
||||
kwrite/main.cpp | 3 +--
|
||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp
|
||||
Index: kate-19.03.60git.20181224T024634~7203979fc/kate/main.cpp
|
||||
===================================================================
|
||||
--- kate-18.07.70git.20180531T121543~bf6d5b753.orig/kate/main.cpp
|
||||
+++ kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp
|
||||
@@ -63,13 +63,8 @@ int main(int argc, char **argv)
|
||||
--- kate-19.03.60git.20181224T024634~7203979fc.orig/kate/main.cpp 2018-12-25 09:49:15.867478873 +0100
|
||||
+++ kate-19.03.60git.20181224T024634~7203979fc/kate/main.cpp 2018-12-25 09:49:19.231424088 +0100
|
||||
@@ -61,13 +61,8 @@
|
||||
#ifndef Q_OS_WIN
|
||||
// Prohibit using sudo or kdesu (but allow using the root user directly)
|
||||
if (getuid() == 0) {
|
||||
@ -32,23 +32,23 @@ Index: kate-18.07.70git.20180531T121543~bf6d5b753/kate/main.cpp
|
||||
}
|
||||
#endif
|
||||
/**
|
||||
Index: kate-18.07.70git.20180531T121543~bf6d5b753/kwrite/main.cpp
|
||||
Index: kate-19.03.60git.20181224T024634~7203979fc/kwrite/main.cpp
|
||||
===================================================================
|
||||
--- kate-18.07.70git.20180531T121543~bf6d5b753.orig/kwrite/main.cpp
|
||||
+++ kate-18.07.70git.20180531T121543~bf6d5b753/kwrite/main.cpp
|
||||
@@ -52,13 +52,8 @@ extern "C" Q_DECL_EXPORT int main(int ar
|
||||
--- kate-19.03.60git.20181224T024634~7203979fc.orig/kwrite/main.cpp 2018-12-25 09:49:19.231424088 +0100
|
||||
+++ kate-19.03.60git.20181224T024634~7203979fc/kwrite/main.cpp 2018-12-25 09:50:32.302253532 +0100
|
||||
@@ -52,13 +52,8 @@
|
||||
#ifndef Q_OS_WIN
|
||||
// Prohibit using sudo or kdesu (but allow using the root user directly)
|
||||
if (getuid() == 0) {
|
||||
- if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
|
||||
- std::cout << "Executing Kate with sudo is not possible due to unfixable security vulnerabilities." << std::endl;
|
||||
- std::cout << "Executing KWrite with sudo is not possible due to unfixable security vulnerabilities." << std::endl;
|
||||
- return EXIT_FAILURE;
|
||||
- } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
|
||||
- std::cout << "Executing Kate with kdesu is not possible due to unfixable security vulnerabilities." << std::endl;
|
||||
- std::cout << "Executing KWrite with kdesu is not possible due to unfixable security vulnerabilities." << std::endl;
|
||||
- return EXIT_FAILURE;
|
||||
- }
|
||||
+ std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root please use:" << std::endl;
|
||||
+ std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
|
||||
+ std::cout << "THIS IS POTENTIALLY INSECURE!\nTo edit files as root please use:" << std::endl;
|
||||
+ std::cout << "SUDO_EDITOR=kwrite sudoedit <file>" << std::endl;
|
||||
}
|
||||
#endif
|
||||
/**
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7f2cba41a4c88b65885532db6b6161c66055a6697d20ee88adb70f302d387e1
|
||||
size 5765324
|
3
kate-19.03.80.tar.xz
Normal file
3
kate-19.03.80.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af71451445f1d56981eadef3f30b861515d80172f02dc7cd2a880b60fc91b464
|
||||
size 5791592
|
12
kate.changes
12
kate.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 27 06:40:58 UTC 2019 - lbeltrame@kde.org
|
||||
|
||||
- Update to 19.03.80
|
||||
* New feature release
|
||||
* For more details please see:
|
||||
* https://kde.org/announcements/announce-applications-19.04-beta.php
|
||||
- Changes since 18.12.3:
|
||||
* Too many changes to list here
|
||||
- Refreshed patches:
|
||||
* 0001-Defuse-root-block.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 09 08:03:13 UTC 2019 - lbeltrame@kde.org
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user