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/routerlist.c | |
parent | 5d41346b6744a0d249e3680d748325e401a9382d (diff) | |
download | tor-fdc5751c606ae0b98bd5f85720171cff3ada94b4.tar tor-fdc5751c606ae0b98bd5f85720171cff3ada94b4.tar.gz |
bugfix: address that strcat vulnerability in circuit.c
svn:r1273
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index d5b16b56c..172ff2069 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1064,7 +1064,7 @@ router_add_exit_policy(routerinfo_t *router, directory_token_t *tok) { strcpy(newe->string, "accept "); newe->policy_type = EXIT_POLICY_ACCEPT; } - strcat(newe->string, arg); + strcat(newe->string, arg); /* can't overflow */ address = arg; mask = strchr(arg,'/'); |