diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-14 22:47:11 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-14 22:47:11 +0000 |
commit | fdc5751c606ae0b98bd5f85720171cff3ada94b4 (patch) | |
tree | 7bf8b43e1523efecb0e4fe0ff3578d1599408cf9 /src/or/dirserv.c | |
parent | 5d41346b6744a0d249e3680d748325e401a9382d (diff) | |
download | tor-fdc5751c606ae0b98bd5f85720171cff3ada94b4.tar.gz tor-fdc5751c606ae0b98bd5f85720171cff3ada94b4.zip |
bugfix: address that strcat vulnerability in circuit.c
svn:r1273
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 0da23a7162..a73be17c08 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -341,7 +341,7 @@ list_running_servers(char **nicknames_out) for (i = 0; i<n; ++i) { if (i) strcat(cp, " "); - strcat(cp, nickname_lst[i]); + strcat(cp, nickname_lst[i]); /* can't overflow */ while (*cp) ++cp; } |