1. 15 Dec, 2015 1 commit
    • cypherpunks's avatar
      Fix backtrace compilation on FreeBSD · 07cca627
      cypherpunks authored and Nick Mathewson's avatar Nick Mathewson committed
      On FreeBSD backtrace(3) uses size_t instead of int (as glibc does). This
      causes integer precision loss errors when we used int to store its
      results.
      
      The issue is fixed by using size_t to store the results of backtrace(3).
      
      The manual page of glibc does not mention that backtrace(3) returns
      negative values. Therefore, no unsigned integer wrapping occurs when its
      result is stored in an unsigned data type.
      07cca627
  2. 14 Dec, 2015 4 commits
  3. 10 Dec, 2015 2 commits
  4. 08 Dec, 2015 10 commits
  5. 07 Dec, 2015 3 commits
  6. 05 Dec, 2015 1 commit
  7. 01 Dec, 2015 2 commits
    • cypherpunks's avatar
      Add changes file for 17722 · e408aa3b
      cypherpunks authored and Nick Mathewson's avatar Nick Mathewson committed
      e408aa3b
    • cypherpunks's avatar
      Fix undefined behavior caused by memory overlap · be089166
      cypherpunks authored and Nick Mathewson's avatar Nick Mathewson committed
      The tor_cert_get_checkable_sig function uses the signing key included in
      the certificate (if available) when a separate public key is not given.
      
      When the signature is valid, the tor_cert_checksig function copies the
      public key from the checkable structure to the public key field of the
      certificate signing key.
      
      In situations where the separate public key is not given but the
      certificate includes a signing key, the source and destination pointers
      in the copy operation are equal and invoke undefined behavior.
      
      Undefined behaviour is avoided by ensuring both pointers are different.
      be089166
  8. 25 Nov, 2015 1 commit
  9. 23 Nov, 2015 1 commit
  10. 20 Nov, 2015 1 commit
  11. 13 Nov, 2015 1 commit
  12. 21 Oct, 2015 11 commits
  13. 19 Oct, 2015 2 commits