artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da0836
)
1 byte underflow
author
deraadt
<deraadt@openbsd.org>
Fri, 25 Apr 1997 18:13:19 +0000
(18:13 +0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 25 Apr 1997 18:13:19 +0000
(18:13 +0000)
gnu/usr.bin/cvs/src/main.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/cvs/src/main.c
b/gnu/usr.bin/cvs/src/main.c
index
fc97f23
..
be606ce
100644
(file)
--- 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);