OSDN Git Service

Merge branch 'hv/link-alt-odb-entry'
authorJunio C Hamano <gitster@pobox.com>
Mon, 30 Jul 2012 19:55:01 +0000 (12:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jul 2012 19:55:01 +0000 (12:55 -0700)
The code to avoid mistaken attempt to add the object directory
itself as its own alternate could read beyond end of a string while
comparison.

* hv/link-alt-odb-entry:
  link_alt_odb_entry: fix read over array bounds reported by valgrind

1  2 
sha1_file.c

diff --cc sha1_file.c
Simple merge