aboutsummaryrefslogtreecommitdiff
path: root/changes/warn-unsigned-time_t
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-11 16:20:20 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-11 16:20:20 -0400
commit012068935a632fa3d578cee956b6aed141055379 (patch)
treedd5ec4643fc38f258e8b31e80ae26c8c198b7d6f /changes/warn-unsigned-time_t
parent2f98bf5c9fac4dfd1bb07564ce08b13d1e330252 (diff)
downloadtor-012068935a632fa3d578cee956b6aed141055379.tar.gz
tor-012068935a632fa3d578cee956b6aed141055379.zip
Fix a bug in microdescs_add_to_cache when listed_at == -1
This bug affects hosts where time_t is unsigned, which AFAICT does not include anything we currently support. (It _does_ include OpenVMS, about a month of BSD4.2's history[1], and a lot of the 1970s.) There are probably more bugs when time_t is unsigned. This one was [1] http://mail-index.netbsd.org/tech-userlevel/1998/06/04/0000.html
Diffstat (limited to 'changes/warn-unsigned-time_t')
-rw-r--r--changes/warn-unsigned-time_t6
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/warn-unsigned-time_t b/changes/warn-unsigned-time_t
index 5f0c36d099..f57f85ae37 100644
--- a/changes/warn-unsigned-time_t
+++ b/changes/warn-unsigned-time_t
@@ -1,3 +1,9 @@
+ o Minor bugfixes (portability):
+ - On the chance that somebody manages to build Tor on a
+ platform where time_t is unsigned, correct the way that
+ microdesc_add_to_cache handles negative time arguments. Fix for
+ bug 8042; bugfix on 0.2.3.1-alpha.
+
o Build improvements:
- Warn if building on a platform with an unsigned time_t: there
are too many places where Tor currently assumes that time_t can