Skip to content
Snippets Groups Projects
  1. Dec 16, 2015
  2. Dec 15, 2015
    • 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
  3. Dec 14, 2015
  4. Dec 10, 2015
  5. Dec 08, 2015
  6. Dec 07, 2015
  7. Dec 05, 2015
  8. Dec 01, 2015
    • 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
  9. Nov 25, 2015
  10. Nov 23, 2015
  11. Nov 20, 2015
  12. Nov 13, 2015
  13. Oct 21, 2015
Loading