diff options
-rw-r--r-- | usr.bin/cvs/resp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 39fc6c4a217..b0fe0218917 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.55 2005/08/16 16:34:19 xsa Exp $ */ +/* $OpenBSD: resp.c,v 1.56 2005/08/17 16:43:39 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -423,7 +423,7 @@ cvs_resp_createdir(char *line) CVSENTRIES *entf; struct stat st; struct cvs_ent *ent; - char *file, subdir[MAXPATHLEN], buf[MAXPATHLEN]; + char *file, subdir[MAXPATHLEN], buf[CVS_ENT_MAXLINELEN]; entf = NULL; cf = NULL; @@ -808,7 +808,8 @@ static int cvs_resp_rcsdiff(struct cvsroot *root, int type, char *line) { int len; - char file[MAXPATHLEN], buf[MAXPATHLEN], cksum_buf[CVS_CKSUM_LEN]; + char file[MAXPATHLEN]; + char buf[CVS_ENT_MAXLINELEN], cksum_buf[CVS_CKSUM_LEN]; char *fname, *orig, *patch; mode_t fmode; BUF *res, *fcont, *patchbuf; |