[packages/systemd] fix "Caught <ABRT>, dumped core as pid..."

atler atler at pld-linux.org
Sun Nov 18 23:06:32 CET 2018


commit dc5fbf40660948ed76dfcbfa191aeec1c7f3a5e9
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Nov 18 23:04:28 2018 +0100

    fix "Caught <ABRT>, dumped core as pid..."

 target-pld.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/target-pld.patch b/target-pld.patch
index f13c46f..d237b3a 100644
--- a/target-pld.patch
+++ b/target-pld.patch
@@ -16,7 +16,7 @@
  
 +int read_etc_hostname_distro(const char *path, char **ret) {
 +        int r;
-+        char *p;
++        char *p = NULL;
 +        r = parse_env_file(NULL, "/etc/sysconfig/network", NEWLINE, "HOSTNAME", &p, NULL);
 +        if (r < 0)
 +                return r;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/d38d680614a1f6a1d6264e46377ac758e51b1539



More information about the pld-cvs-commit mailing list