Skip to content
Snippets Groups Projects
  1. Jul 01, 2011
    • Nick Mathewson's avatar
      Use strlcpy in create_unix_sockaddr() · 959da6b7
      Nick Mathewson authored
      Using strncpy meant that if listenaddress were ever >=
      sizeof(sockaddr_un.sun_path), we would fail to nul-terminate
      sun_path.  This isn't a big deal: we never read sun_path, and the
      kernel is smart enough to reject the sockaddr_un if it isn't
      nul-terminated.  Nonetheless, it's a dumb failure mode.  Instead, we
      should reject addresses that don't fit in sockaddr_un.sun_path.
      
      Coverity found this; it's CID 428.  Bugfix on 0.2.0.3-alpha.
      959da6b7
  2. Jan 03, 2011
  3. Feb 27, 2010
  4. May 27, 2009
  5. May 14, 2009
  6. May 04, 2009
  7. Feb 04, 2009
  8. Jan 04, 2009
  9. Dec 29, 2008
  10. Dec 27, 2008
  11. Dec 26, 2008
  12. Dec 22, 2008
  13. Dec 18, 2008
  14. Dec 17, 2008
  15. Dec 11, 2008
  16. Sep 26, 2008
  17. Sep 24, 2008
  18. Sep 16, 2008
  19. Sep 14, 2008
  20. Sep 09, 2008
  21. Sep 05, 2008
  22. Sep 04, 2008
  23. Aug 29, 2008
  24. Aug 15, 2008
  25. Aug 09, 2008
  26. Aug 07, 2008
  27. Aug 05, 2008
  28. Jul 24, 2008
  29. Jun 20, 2008
Loading