Code

fetch-pack: do not use lockfile structure on stack.
authorJunio C Hamano <junkio@cox.net>
Tue, 2 Jan 2007 19:22:08 +0000 (11:22 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 2 Jan 2007 19:22:08 +0000 (11:22 -0800)
commit54b9e0225ad150b4528d7a12f2196ad46f058302
tree4c196a43c849e960c1f124a66a8c64f62e0d43b6
parent96a738c0ddd49afc3bfcbf7575be55e492b69a82
fetch-pack: do not use lockfile structure on stack.

They are used in atexit() for clean-up, and you will be
accessing unallocated memory at that point.

See 31f584c2 for the fix for a similar problem.

Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-pack.c