author | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Jul 2008 07:25:23 +0000 (00:25 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 3 Jul 2008 07:34:59 +0000 (00:34 -0700) | ||
commit | 6991357513bf8bfbb71a4675e271b386cc273476 | |
tree | 3369267f2ff1b0da1c9a63768fdd1aa7da49167b | tree | snapshot |
parent | 6cbf8b00fb27f5f55f1a5645ba60c451cb090fc1 | commit | diff |
fast-export --export-marks: fix off by one error
The export_marks() function iterated over a (potentially sparsely
populated) hashtable, but it accessed it starting from offset 1 and one
element beyond the end.
Noticed by SungHyun Nam.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The export_marks() function iterated over a (potentially sparsely
populated) hashtable, but it accessed it starting from offset 1 and one
element beyond the end.
Noticed by SungHyun Nam.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c | diff | blob | history | |
decorate.c | diff | blob | history |