aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2014-10-12 20:50:10 +1100
committerteor <teor2345@gmail.com>2014-10-12 20:50:10 +1100
commitf51418aabcc2af47f61a97f818b013ade6e45208 (patch)
tree021ee81515e73fd32822a01751ae1f583115d266 /changes
parentf94e5f2e5212034cb8b2666716eeaa61e874065b (diff)
downloadtor-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-test6
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.