[systemd-commits] 2 commits - configure.ac src/logind-acl.c src/uaccess.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Jul 13 14:56:18 PDT 2011
configure.ac | 2 +-
src/logind-acl.c | 2 +-
src/uaccess.c | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 501c92c432c7bef452a2714c29519bdd45281a72
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jul 13 23:17:05 2011 +0200
logind: fix some potentially uninitialized accesses
diff --git a/src/logind-acl.c b/src/logind-acl.c
index 2aa5866..7f9b0ca 100644
--- a/src/logind-acl.c
+++ b/src/logind-acl.c
@@ -105,7 +105,7 @@ int devnode_acl(const char *path,
bool add, uid_t new_uid) {
acl_t acl;
- int r;
+ int r = 0;
bool changed = false;
assert(path);
diff --git a/src/uaccess.c b/src/uaccess.c
index 1683707..435471e 100644
--- a/src/uaccess.c
+++ b/src/uaccess.c
@@ -28,7 +28,7 @@
int main(int argc, char *argv[]) {
int r;
- const char *path, *seat;
+ const char *path = NULL, *seat;
char *p, *active_uid = NULL;
unsigned long ul;
bool changed_acl = false;
@@ -49,6 +49,7 @@ int main(int argc, char *argv[]) {
p = strappend("/run/systemd/seats/", seat);
if (!p) {
log_error("Out of memory.");
+ r = -ENOMEM;
goto finish;
}
commit 736925d5cd58eb64b0db75aed93f7b96c959a1a9
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jul 13 23:11:53 2011 +0200
build-sys: bump release
diff --git a/configure.ac b/configure.ac
index 787a0a8..3b41dbc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
AC_PREREQ(2.63)
-AC_INIT([systemd],[29],[systemd-devel at lists.freedesktop.org])
+AC_INIT([systemd],[30],[systemd-devel at lists.freedesktop.org])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
More information about the systemd-commits
mailing list