Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-02 11:00:03 +0300
committerJunio C Hamano <junkio@cox.net>2007-02-03 08:33:18 +0300
commit3cf8b462d2dbe78233bba5c0765ecaa2c6b6cd99 (patch)
treec2435bd80d4bdb7025cba8e37d8e0d6bfa45868f /xdiff
parent0d18e41e008e9ac1f371d090e2e1b85481221796 (diff)
Don't leak file descriptors from unavailable pack files.
If open_packed_git failed it may have been because the packfile actually exists and is readable, but some sort of verification did not pass. In this case open_packed_git left pack_fd filled in, as the file descriptor is valid. We don't want to leak the file descriptor, nor do we want to allow someone in the future to use this packed_git. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'xdiff')
0 files changed, 0 insertions, 0 deletions