pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/burp Fix pointer abuse.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8fc901bd9456
branches: trunk
changeset: 356025:8fc901bd9456
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Dec 17 14:21:26 2016 +0000
description:
Fix pointer abuse.
diffstat:
sysutils/burp/distinfo | 3 ++-
sysutils/burp/patches/patch-src_server.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r e3d359b415be -r 8fc901bd9456 sysutils/burp/distinfo
--- a/sysutils/burp/distinfo Sat Dec 17 14:20:32 2016 +0000
+++ b/sysutils/burp/distinfo Sat Dec 17 14:21:26 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:32:07 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/12/17 14:21:26 joerg Exp $
SHA1 (burp-1.4.40.tar.bz2) = b06dbe9d1440b9e7915d35ad0c23b9d120fec10e
RMD160 (burp-1.4.40.tar.bz2) = 3ba2a60605562bbff7bacc600ee511c3ce020995
@@ -15,3 +15,4 @@
SHA1 (patch-manpages_burp.8) = 81879e11cf917c36467513aeb440d0ab2dbad142
SHA1 (patch-manpages_burp__ca.8) = f9ac9ffe1f67df040c939bb1afcf614869695034
SHA1 (patch-src-xattr.c) = 105aa2c67fde7007b525d6ff93e0d9ce67ee2f4f
+SHA1 (patch-src_server.c) = 3dc518b24bd866d0ff7cc9c834d4fde810cacb74
diff -r e3d359b415be -r 8fc901bd9456 sysutils/burp/patches/patch-src_server.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/burp/patches/patch-src_server.c Sat Dec 17 14:21:26 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_server.c,v 1.1 2016/12/17 14:21:27 joerg Exp $
+
+Check pointer for Non-NULL-ness, not for positivity.
+
+--- src/server.c.orig 2016-12-15 17:48:47.698862968 +0000
++++ src/server.c
+@@ -543,7 +543,7 @@ static int do_backup_server(const char *
+ working, current, currentdata,
+ finishing, cconf, client,
+ p1cntr, cntr);
+- if(!ret && cconf->keep>0)
++ if(!ret && cconf->keep)
+ ret=remove_old_backups(basedir, cconf, client);
+ }
+
Home |
Main Index |
Thread Index |
Old Index