1. 05 Jun, 2019 1 commit
  2. 25 Oct, 2018 2 commits
  3. 19 Feb, 2017 1 commit
    • teor's avatar
      Reject Tor versions that contain non-numeric prefixes · 57154e71
      teor authored
      strto* and _atoi64 accept +, -, and various whitespace before numeric
      characters. And permitted whitespace is different between POSIX and Windows.
      
      Fixes bug 21507 and part of 21508; bugfix on 0.0.8pre1.
      57154e71
  4. 17 Feb, 2017 1 commit
  5. 15 Feb, 2017 4 commits
  6. 14 Feb, 2017 1 commit
  7. 19 Dec, 2016 1 commit
    • Nick Mathewson's avatar
      Fix parsing bug with unecognized token at EOS · d978216d
      Nick Mathewson authored
      In get_token(), we could read one byte past the end of the
      region. This is only a big problem in the case where the region
      itself is (a) potentially hostile, and (b) not explicitly
      nul-terminated.
      
      This patch fixes the underlying bug, and also makes sure that the
      one remaining case of not-NUL-terminated potentially hostile data
      gets NUL-terminated.
      
      Fix for bug 21018, TROVE-2016-12-002, and CVE-2016-1254
      d978216d
  8. 31 Oct, 2016 1 commit
    • Nick Mathewson's avatar
      policy_is_reject_star(): · d73c671d
      Nick Mathewson authored
      ome policies are default-reject, some default-accept.  But
      policy_is_reject_star() assumed they were all default_reject.  Fix
      that!
      
      Also, document that policy_is_reject_star() treats a NULL policy as
      empty. This allows us to simplify the checks in
      parse_reachable_addresses() by quite a bit.
      
      Fxes bug 20306; bugfix on 0.2.8.2-alpha.
      d73c671d
  9. 17 Oct, 2016 1 commit
    • Nick Mathewson's avatar
      Write a bunch of module documentation. · aae034d1
      Nick Mathewson authored
      This commit adds or improves the module-level documenation for:
      
        buffers.c circuitstats.c command.c connection_edge.c control.c
        cpuworker.c crypto_curve25519.c crypto_curve25519.h
        crypto_ed25519.c crypto_format.c dircollate.c dirserv.c dns.c
        dns_structs.h fp_pair.c geoip.c hibernate.c keypin.c ntmain.c
        onion.c onion_fast.c onion_ntor.c onion_tap.c periodic.c
        protover.c protover.h reasons.c rephist.c replaycache.c
        routerlist.c routerparse.c routerset.c statefile.c status.c
        tor_main.c workqueue.c
      
      In particular, I've tried to explain (for each documented module)
      what each module does, what's in it, what the big idea is, why it
      belongs in Tor, and who calls it.  In a few cases, I've added TODO
      notes about refactoring opportunities.
      
      I've also renamed an argument, and fixed a few DOCDOC comments.
      aae034d1
  10. 14 Oct, 2016 1 commit
  11. 26 Sep, 2016 6 commits
  12. 13 Sep, 2016 2 commits
  13. 28 Jul, 2016 1 commit
  14. 01 Jul, 2016 2 commits
  15. 30 Jun, 2016 15 commits