diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-21 11:09:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-21 11:22:42 -0400 |
commit | 446e481c90666235bc184cdad6a8578b79fa258e (patch) | |
tree | 61968fb750f0fc21710a87a321dd30d43e26e7e3 /changes | |
parent | a66fff6381abc5e3a70bd9cf3108560ed79f8d3e (diff) | |
download | tor-446e481c90666235bc184cdad6a8578b79fa258e.tar.gz tor-446e481c90666235bc184cdad6a8578b79fa258e.zip |
Check for duplicate arguments to tor-gencert
Found by coverity, which noticed that if you said
tor-gencert -i identity1 -i identity2
we would leak "identity1".
[CID 1198201, 1198202, 1198203]
Diffstat (limited to 'changes')
-rw-r--r-- | changes/check_dup_args_gencert | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/check_dup_args_gencert b/changes/check_dup_args_gencert new file mode 100644 index 0000000000..d0925df600 --- /dev/null +++ b/changes/check_dup_args_gencert @@ -0,0 +1,3 @@ + o Minor features: + - In tor-gencert, report an error if the user provides the same + argument more than once. |