1. 11 Mar, 2016 1 commit
    • object: avoid call of memset with ouf of bounds pointer · 61d7328d
      When computing a short OID we do this by first copying the
      leading parts into the new OID structure and then setting the
      trailing part to zero. In the case of the desired length being
      `GIT_OID_HEXSZ - 1` we will call `memset` with an out of bounds
      pointer and a length of 0. While this seems to cause no problems
      for common platforms the C89 standard does not explicitly state
      that calling `memset` with an out of bounds pointer and
      length of 0 is valid.
      
      Fix the potential issue by using the newly introduced
      `git_oid__cpy_prefix` function.
      Patrick Steinhardt committed
  2. 10 Mar, 2016 2 commits
  3. 09 Mar, 2016 10 commits
  4. 08 Mar, 2016 10 commits
  5. 07 Mar, 2016 4 commits
  6. 04 Mar, 2016 2 commits
  7. 03 Mar, 2016 11 commits