From: Junio C Hamano Date: Tue, 17 Dec 2013 18:43:30 +0000 (-0800) Subject: prune-packed: use strbuf to avoid having to worry about PATH_MAX X-Git-Tag: v1.9-rc0~39^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c235d960cb32ddca352d12c3f8dc053ddfd421dd?hp=c235d960cb32ddca352d12c3f8dc053ddfd421dd prune-packed: use strbuf to avoid having to worry about PATH_MAX A/very/long/path/to/.git that becomes exactly PATH_MAX bytes long after suffixed with /objects/??/??38-hex??, would have overflown the on-stack pathname[] buffer. Noticed-by: Michael Haggerty Signed-off-by: Junio C Hamano ---