Skip to content
Snippets Groups Projects
  1. May 29, 2019
  2. May 17, 2019
  3. May 15, 2019
  4. May 10, 2019
    • Nick Mathewson's avatar
      Don't pass a NULL into a %s when logging client auth file load failure · ff558403
      Nick Mathewson authored
      Fortunately, in 0.3.5.1-alpha we improved logging for various
      failure cases involved with onion service client auth.
      
      Unfortunately, for this one, we freed the file right before logging
      its name.
      
      Fortunately, tor_free() sets its pointer to NULL, so we didn't have
      a use-after-free bug.
      
      Unfortunately, passing NULL to %s is not defined.
      
      Fortunately, GCC 9.1.1 caught the issue!
      
      Unfortunately, nobody has actually tried building Tor with GCC 9.1.1
      before. Or if they had, they didn't report the warning.
      
      Fixes bug 30475; bugfix on 0.3.5.1-alpha.
      ff558403
  5. May 02, 2019
  6. Apr 30, 2019
  7. Apr 29, 2019
  8. Apr 25, 2019
  9. Apr 24, 2019
    • Alexander Hansen Færøy's avatar
      Lower log level of unlink() errors in networkstatus_set_current_consensus(). · 04290724
      Alexander Hansen Færøy authored
      In this patch we lower the log level of the failures for the three calls
      to unlink() in networkstatus_set_current_consensus(). These errors might
      trigger on Windows because the memory mapped consensus file keeps the
      file in open state even after we have close()'d it. Windows will then
      error on the unlink() call with a "Permission denied" error.
      
      The consequences of ignoring these errors is that we leave an unused
      file around on the file-system, which is an easier way to fix this
      problem right now than refactoring networkstatus_set_current_consensus().
      
      See: https://bugs.torproject.org/29930
      04290724
  10. Apr 23, 2019
  11. Apr 19, 2019
  12. Apr 18, 2019
  13. Apr 17, 2019
  14. Apr 15, 2019
  15. Apr 12, 2019
Loading