diff options
author | teor <teor2345@gmail.com> | 2014-10-12 20:50:10 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2014-10-12 20:50:10 +1100 |
commit | f51418aabcc2af47f61a97f818b013ade6e45208 (patch) | |
tree | 021ee81515e73fd32822a01751ae1f583115d266 /src/or/onion.h | |
parent | f94e5f2e5212034cb8b2666716eeaa61e874065b (diff) | |
download | tor-f51418aabcc2af47f61a97f818b013ade6e45208.tar.gz tor-f51418aabcc2af47f61a97f818b013ade6e45208.zip |
Avoid overflow in format_time_interval, create unit tests
Fix an instance of integer overflow in format_time_interval() when
taking the absolute value of the supplied signed interval value.
Fixes bug 13393.
Create unit tests for format_time_interval().
Diffstat (limited to 'src/or/onion.h')
0 files changed, 0 insertions, 0 deletions