]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix a bug in microdescs_add_to_cache when listed_at == -1
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Mar 2013 20:20:20 +0000 (16:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Mar 2013 20:20:20 +0000 (16:20 -0400)
commit012068935a632fa3d578cee956b6aed141055379
treedd5ec4643fc38f258e8b31e80ae26c8c198b7d6f
parent2f98bf5c9fac4dfd1bb07564ce08b13d1e330252
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
changes/warn-unsigned-time_t
src/or/microdesc.c