diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-08 10:22:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-08 10:22:01 -0400 |
commit | 280672bdbc2c694ebe17f9972657d118e84be723 (patch) | |
tree | 07e9d8b4620bf1c74602b0c780c29ec816004945 /changes | |
parent | 81e3deeb54d2f3d022655c6a51f966ef44bf6fb3 (diff) | |
download | tor-280672bdbc2c694ebe17f9972657d118e84be723.tar.gz tor-280672bdbc2c694ebe17f9972657d118e84be723.zip |
Handle negative inputs to crypto_random_time_range().
(These inputs are possible when Shadow starts the world at time_t 0,
and breaks our assumption that Tor didn't exist in the 1970s.)
Fixes regression introduced in 241e6b09. Fixes #16980.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug16980 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug16980 b/changes/bug16980 new file mode 100644 index 0000000000..43a817e92a --- /dev/null +++ b/changes/bug16980 @@ -0,0 +1,6 @@ + o Minor bugfixes: + + - Fix the behavior of crypto_time_t when told to consider times + before 1970. (These times were possible when running in a + simulated network environment where time()'s output starts at + zero.) Fixes bug 16980; bugfix on 0.2.7.1-alpha. |