Merge branch 'rs/fetch-pack-invalid-lockfile'
authorJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 23:11:20 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 23:11:20 +0000 (15:11 -0800)
commiteae47db8657199518b0785db6d83cf9fec179b47
treec09f513ef57e9d642d61c4c2fd76edba08f706f6
parent8e2def76f76cdf531034d13170e317afeb100d23
parent6031af387e7d0554d3202e0039d9d9af1691a6a4
Merge branch 'rs/fetch-pack-invalid-lockfile'

"fetch-pack" could pass NULL pointer to unlink(2) when it sees an
invalid filename; the error checking has been tightened to make
this impossible.

* rs/fetch-pack-invalid-lockfile:
  fetch-pack: disregard invalid pack lockfiles
fetch-pack.c