summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-04-25 18:13:19 +0000
committerderaadt <deraadt@openbsd.org>1997-04-25 18:13:19 +0000
commitcea5c39e26891ca127c395778b0bde4f6e30c320 (patch)
treec10144be3c388a296a1380559e755488b2d25ea0
parentfix broken tag (diff)
downloadwireguard-openbsd-cea5c39e26891ca127c395778b0bde4f6e30c320.tar.xz
wireguard-openbsd-cea5c39e26891ca127c395778b0bde4f6e30c320.zip
1 byte underflow
-rw-r--r--gnu/usr.bin/cvs/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/src/main.c b/gnu/usr.bin/cvs/src/main.c
index fc97f231be7..be606cefda2 100644
--- a/gnu/usr.bin/cvs/src/main.c
+++ b/gnu/usr.bin/cvs/src/main.c
@@ -957,7 +957,7 @@ parseopts(root)
if (!strncmp(buf, "tag=", 4)) {
char *RCS_citag = strdup(buf+4);
- char *what = malloc(sizeof("RCSLOCALID")+1+strlen(RCS_citag));
+ char *what = malloc(sizeof("RCSLOCALID")+1+strlen(RCS_citag)+1);
sprintf(what, "RCSLOCALID=%s", RCS_citag);
putenv(what);