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 /changes | |
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 'changes')
-rw-r--r-- | changes/bug13393-format-time-interval-overflow-test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug13393-format-time-interval-overflow-test b/changes/bug13393-format-time-interval-overflow-test new file mode 100644 index 0000000000..cc15572000 --- /dev/null +++ b/changes/bug13393-format-time-interval-overflow-test @@ -0,0 +1,6 @@ + o Minor bugfixes: + - Fix an instance of integer overflow in format_time_interval(). + Fixes bug 13393. + + o Minor features (test): + - Create unit tests for format_time_interval(). With bug 13393. |