* fix an off-by-one buffer underrun; from millert@

* add xenocara to OpenBSD cvsyncd.conf template
This commit is contained in:
naddy 2008-08-25 17:13:22 +00:00
parent 05cff3223d
commit 37ff93e9e9
3 changed files with 26 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.39 2007/09/15 22:36:52 merdely Exp $
# $OpenBSD: Makefile,v 1.40 2008/08/25 17:13:22 naddy Exp $
COMMENT= portable CVS repository synchronization utility
DISTNAME= cvsync-0.24.19
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
HOMEPAGE= http://www.cvsync.org/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-common_refuse_c,v 1.1 2008/08/25 17:13:22 naddy Exp $
--- common/refuse.c.orig Mon Aug 25 19:07:21 2008
+++ common/refuse.c Mon Aug 25 19:07:36 2008
@@ -246,7 +246,7 @@ refuse_access(struct refuse_args *ra, struct cvsync_at
continue;
namelen = strlen(pat);
ep = pat + namelen;
- while (ep >= pat) {
+ while (ep > pat) {
if (*--ep != '/')
continue;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-samples_cvsyncd-OpenBSD_conf,v 1.1 2008/08/25 17:13:22 naddy Exp $
--- samples/cvsyncd-OpenBSD.conf.orig Mon Aug 25 19:07:48 2008
+++ samples/cvsyncd-OpenBSD.conf Mon Aug 25 19:08:22 2008
@@ -32,4 +32,8 @@ config {
super openbsd release rcs
name openbsd-xf4 prefix XF4
}
+ collection {
+ super openbsd release rcs
+ name openbsd-xenocara prefix xenocara
+ }
}