Fix potentially dangerous uses of mkpath and git_path
authorAlex Riesen <raa.lkml@gmail.com>
Sun, 26 Oct 2008 22:08:52 +0000 (23:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Oct 2008 05:10:28 +0000 (22:10 -0700)
commit9fa03c177ff826b439537072338af958fe01c257
tree913ec88df1b73e0f2ab6c6b5bec06fe179b3d1b2
parent94cc355287a7efc3eda76af6ae31f503a1ac098b
Fix potentially dangerous uses of mkpath and git_path

Replace them with mksnpath/git_snpath and a local buffer
for the resulting string.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c