Skip to content
Snippets Groups Projects
  1. Jul 01, 2011
    • Nick Mathewson's avatar
      Use strlcpy when copying node IDs into measured_bw_line_t · bc91cb6e
      Nick Mathewson authored
      We were using strncpy before, which isn't our style for stuff like
      this.
      
      This isn't a bug, though: before calling strncpy, we were checking
      that strlen(src) was indeed == HEX_DIGEST_LEN, which is less than
      sizeof(dst), so there was no way we could fail to NUL-terminate.
      Still, strncpy(a,b,sizeof(a)) is an idiom that we ought to squash
      everyplace.
      
      Fixes CID #427.
      bc91cb6e
  2. Jun 22, 2011
  3. Jun 21, 2011
  4. Jun 20, 2011
  5. Jun 17, 2011
  6. Jun 14, 2011
  7. Jun 13, 2011
  8. Jun 08, 2011
  9. Jun 06, 2011
  10. Jun 05, 2011
  11. Jun 03, 2011
  12. Jun 02, 2011
Loading