=== modified file 'Makefile' --- Makefile 2009-01-15 04:55:10 +0000 +++ Makefile 2009-01-17 02:12:05 +0000 @@ -16,7 +16,7 @@ OPTIMIZE=-Os LANGUAGE=-std=gnu99 htmldir=man -version=1.0.4 +version=1.0.5 SED=sed ## Use these settings for a traditional /usr/local install === modified file 'NEWS' --- NEWS 2009-01-15 04:55:10 +0000 +++ NEWS 2009-01-17 02:12:05 +0000 @@ -1,6 +1,10 @@ This NEWS file records noteworthy changes, very tersely. See the manual for detailed information. +Version 1.0.5 (2009-01-17) +* Client +** Fix small memory leak in plugin-runner. + Version 1.0.4 (2009-01-15) * Server ** Only find matched user/group pairs when searching for suitable === modified file 'debian/changelog' --- debian/changelog 2009-01-15 04:55:10 +0000 +++ debian/changelog 2009-01-17 02:12:05 +0000 @@ -1,3 +1,9 @@ +mandos (1.0.5-1) unstable; urgency=low + + * New upstream release. + + -- Teddy Hogeborn Sat, 17 Jan 2009 02:26:00 +0100 + mandos (1.0.4-1) unstable; urgency=low * New upstream release. === modified file 'mandos' --- mandos 2009-01-15 05:27:55 +0000 +++ mandos 2009-01-17 02:34:57 +0000 @@ -66,7 +66,7 @@ import ctypes import ctypes.util -version = "1.0.4" +version = "1.0.5" logger = logging.Logger('mandos') syslogger = (logging.handlers.SysLogHandler === modified file 'mandos-ctl' --- mandos-ctl 2009-01-15 04:55:10 +0000 +++ mandos-ctl 2009-01-17 02:12:05 +0000 @@ -30,7 +30,7 @@ server_path = '/Mandos' server_interface = 'org.mandos_system.Mandos' client_interface = 'org.mandos_system.Mandos.Client' -version = "1.0.4" +version = "1.0.5" bus = dbus.SystemBus() mandos_dbus_objc = bus.get_object(busname, server_path) === modified file 'mandos-keygen' --- mandos-keygen 2009-01-15 04:55:10 +0000 +++ mandos-keygen 2009-01-17 09:46:54 +0000 @@ -21,7 +21,7 @@ # Contact the authors at . # -VERSION="1.0.4" +VERSION="1.0.5" KEYDIR="/etc/keys/mandos" KEYTYPE=DSA @@ -147,7 +147,7 @@ echo "Invalid key length" >&2 exit 1 fi - + if [ -z "$KEYEXPIRE" ]; then echo "Empty key expiration" >&2 exit 1 @@ -172,7 +172,7 @@ if [ -n "$KEYEMAIL" ]; then KEYEMAILLINE="Name-Email: $KEYEMAIL" fi - + # Create temporary gpg batch file BATCHFILE="`mktemp -t mandos-keygen-batch.XXXXXXXXXX`" fi @@ -284,7 +284,7 @@ stty echo if [ "$first" != "$second" ]; then echo -e "Passphrase mismatch" >&2 - false + touch "$RINGDIR"/mismatch else echo -n "$first" fi @@ -292,9 +292,9 @@ --homedir "$RINGDIR" --trust-model always --armor --encrypt \ --sign --recipient "$FINGERPRINT" --comment "$FILECOMMENT" \ > "$SECFILE" - status="${PIPESTATUS[0]}" - if [ "$status" -ne 0 ]; then - exit "$status" + if [ -e "$RINGDIR"/mismatch ]; then + rm --force "$RINGDIR"/mismatch + exit 1 fi cat <<-EOF === modified file 'mandos.lsm' --- mandos.lsm 2009-01-15 04:55:10 +0000 +++ mandos.lsm 2009-01-17 02:12:05 +0000 @@ -1,7 +1,7 @@ Begin4 Title: Mandos -Version: 1.0.4 -Entered-date: 2009-01-15 +Version: 1.0.5 +Entered-date: 2009-01-17 Description: The Mandos system allows computers to have encrypted root file systems and at the same time be capable of remote and/or unattended reboots. @@ -12,9 +12,9 @@ Maintained-by: teddy@fukt.bsnet.se (Teddy Hogeborn), belorn@fukt.bsnet.se (Björn Påhlsson) Primary-site: http://www.fukt.bsnet.se/mandos - 94K mandos_1.0.4.orig.tar.gz + 94K mandos_1.0.5.orig.tar.gz Alternate-site: ftp://ftp.fukt.bsnet.se/pub/mandos - 94K mandos_1.0.4.orig.tar.gz + 94K mandos_1.0.5.orig.tar.gz Platforms: Requires GCC, GNU libC, Avahi, GnuPG, Python 2.4, and various other libraries. While made for Debian GNU/Linux, it is probably portable to other distributions, but not other Unixes. === modified file 'plugin-runner.c' --- plugin-runner.c 2009-01-14 14:20:17 +0000 +++ plugin-runner.c 2009-01-17 02:34:57 +0000 @@ -115,6 +115,7 @@ if(name != NULL){ copy_name = strdup(name); if(copy_name == NULL){ + free(new_plugin); return NULL; } }