Skip to content
Snippets Groups Projects
  1. Dec 08, 2016
  2. Dec 05, 2016
  3. Dec 02, 2016
  4. Dec 01, 2016
  5. Nov 23, 2016
    • Nick Mathewson's avatar
      Try to work around breakage in the OSX 10.12 SDK. · 16fcbd21
      Nick Mathewson authored
      Apple is supposed to decorate their function declarations with
      macros to indicate which OSX version introduced them, so that you
      can tell the compiler that you want to build against certain
      versions of OSX.  But they forgot to do that for clock_gettime() and
      getentropy(), both of which they introduced in 10.12.
      
      This patch adds a kludge to the configure.ac script where, if we
      detect that we are targeting OSX 10.11 or earlier, we don't even probe
      to see if the two offending functions are present.
      
      Closes ticket 20235.
      16fcbd21
  6. Nov 07, 2016
  7. Nov 03, 2016
  8. Nov 02, 2016
    • Nick Mathewson's avatar
      Always call connection_ap_attach_pending() once a second. · b2f82d45
      Nick Mathewson authored and Roger Dingledine's avatar Roger Dingledine committed
      Fixes bug 19969; bugfix on b1d56fc5.  We can fix this some more in
      later Tors, but for now, this is probably the simplest fix possible.
      
      This is a belt-and-suspenders fix, where the earlier fix ("Ask
      event_base_loop to finish when we add a pending stream") aims to respond
      to new streams as soon as they arrive, and this one aims to make sure
      that we definitely respond to all of the streams.
      b2f82d45
  9. Nov 01, 2016
  10. Oct 17, 2016
  11. Oct 06, 2016
  12. Oct 05, 2016
  13. Sep 23, 2016
  14. Sep 22, 2016
  15. Sep 21, 2016
  16. Sep 20, 2016
    • Nick Mathewson's avatar
    • teor's avatar
    • Nick Mathewson's avatar
      Don't look at any routerstatus_t when the networkstatus is inconsistent · 9b5a19c6
      Nick Mathewson authored
      For a brief moment in networkstatus_set_current_consensus(), the old
      consensus has been freed, but the node_t objects still have dead
      pointers to the routerstatus_t objects within it.  During that
      interval, we absolutely must not do anything that would cause Tor to
      look at those dangling pointers.
      
      Unfortunately, calling the (badly labeled!) current_consensus macro
      or anything else that calls into we_use_microdescriptors_for_circuits(),
      can make us look at the nodelist.
      
      The fix is to make sure we identify the main consensus flavor
      _outside_ the danger zone, and to make the danger zone much much
      smaller.
      
      Fixes bug 20103.  This bug has been implicitly present for AGES; we
      just got lucky for a very long time.  It became a crash bug in
      0.2.8.2-alpha when we merged 35bbf2e4 to make
      find_dl_schedule start looking at the consensus, and 4460feaf
      which made node_get_all_orports less (accidentally) tolerant of
      nodes with a valid ri pointer but dangling rs pointer.
      9b5a19c6
Loading