1. 12 Dec, 2009 1 commit
    • Sebastian Hahn's avatar
      *_free functions now accept NULL · 3807db00
      Sebastian Hahn authored
      Some *_free functions threw asserts when passed NULL. Now all of them
      accept NULL as input and perform no action when called that way.
      
      This gains us consistence for our free functions, and allows some
      code simplifications where an explicit null check is no longer necessary.
      3807db00
  2. 22 Nov, 2009 2 commits
  3. 27 Oct, 2009 1 commit
    • Nick Mathewson's avatar
      Remove checks for array existence. (CID 410..415) · 5e4d53d5
      Nick Mathewson authored
      In C, the code "char x[10]; if (x) {...}" always takes the true branch of
      the if statement.  Coverity notices this now.
      
      In some cases, we were testing arrays to make sure that an operation
      we wanted to do would suceed.  Those cases are now always-true.
      
      In some cases, we were testing arrays to see if something was _set_.
      Those caes are now tests for strlen(s), or tests for
      !tor_mem_is_zero(d,len).
      5e4d53d5
  4. 10 Oct, 2009 1 commit
  5. 07 Sep, 2009 1 commit
  6. 25 Aug, 2009 1 commit
  7. 19 Aug, 2009 1 commit
  8. 18 Aug, 2009 1 commit
  9. 17 Aug, 2009 1 commit
  10. 15 Jul, 2009 3 commits
  11. 02 Jul, 2009 1 commit
  12. 19 Jun, 2009 1 commit
  13. 12 Jun, 2009 1 commit
  14. 27 May, 2009 1 commit
  15. 14 May, 2009 2 commits
  16. 04 May, 2009 3 commits
  17. 02 May, 2009 1 commit
  18. 04 Feb, 2009 1 commit
  19. 04 Jan, 2009 1 commit
  20. 29 Dec, 2008 2 commits
  21. 27 Dec, 2008 2 commits
  22. 26 Dec, 2008 1 commit
  23. 22 Dec, 2008 3 commits
  24. 18 Dec, 2008 3 commits
  25. 17 Dec, 2008 1 commit
  26. 11 Dec, 2008 1 commit
  27. 26 Sep, 2008 1 commit
  28. 24 Sep, 2008 1 commit