diff options
Diffstat (limited to 'usr.bin/cvs/resp.c')
-rw-r--r-- | usr.bin/cvs/resp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 471c70ac635..e57ad3e5780 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.71 2006/01/27 12:56:28 xsa Exp $ */ +/* $OpenBSD: resp.c,v 1.72 2006/03/16 08:43:43 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -336,9 +336,10 @@ cvs_resp_statdir(struct cvsroot *root, int type, char *line) if (strlcpy(statpath, line, sizeof(statpath)) >= sizeof(statpath) || strlcat(statpath, "/", sizeof(statpath)) >= sizeof(statpath) || strlcat(statpath, CVS_PATH_STATICENTRIES, - sizeof(statpath)) >= sizeof(statpath)) + sizeof(statpath)) >= sizeof(statpath)) { cvs_log(LP_ERR, "Entries.static path truncation"); return (-1); + } if (cvs_noexec == 0) { if ((type == CVS_RESP_CLRSTATDIR) && |