1. 09 Aug, 2018 1 commit
    • diff: fix OOM on AIX when finding similar deltas in empty diff · c65568d8
      The function `git_diff_find_similar` keeps a function of cache
      similarity metrics signatures, whose size depends on the number of
      deltas passed in via the `diff` parameter. In case where the diff is
      empty and thus doesn't have any deltas at all, we may end up allocating
      this cache via a call to `git__calloc(0, sizeof(void *))`. At least on
      AIX, allocating 0 bytes will result in a `NULL` pointer being returned,
      which causes us to erroneously return an OOM error.
      
      Fix this situation by simply returning early in case where we are being
      passed an empty diff, as we cannot find any similarities in that case
      anyway.
      Patrick Steinhardt committed
  2. 06 Aug, 2018 7 commits
  3. 05 Aug, 2018 1 commit
  4. 03 Aug, 2018 14 commits
  5. 02 Aug, 2018 8 commits
  6. 30 Jul, 2018 2 commits
  7. 29 Jul, 2018 3 commits
  8. 28 Jul, 2018 2 commits
  9. 27 Jul, 2018 2 commits