author | Michael Haggerty <mhagger@alum.mit.edu> | |
Tue, 27 Sep 2011 04:46:53 +0000 (06:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 Sep 2011 16:58:47 +0000 (09:58 -0700) | ||
commit | 852844561e8daaa6689cab48a725f764ad5779cb | |
tree | 4237e4e34687ab836086c83c7325006a4068d495 | tree | snapshot |
parent | 632052641517de1a965c1f045b97d2eaa541b2e9 | commit | diff |
notes_merge_commit(): do not pass temporary buffer to other function
It is unsafe to pass a temporary buffer as an argument to
read_directory().
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
It is unsafe to pass a temporary buffer as an argument to
read_directory().
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-merge.c | diff | blob | history |