diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-25 18:13:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-25 18:13:20 +0000 |
commit | 47436df6114dca9f34c2740d826e3a4115caf0f0 (patch) | |
tree | d2fa2a8c169eefb8ab3478a5a6b2018f48d62b33 /gnu/usr.bin/cvs | |
parent | a07f4596501af8401a34479abbb48e259c8d7a73 (diff) |
1 byte underflow
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/src/main.c | 2 |
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); |