author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 27 Aug 2006 02:38:02 +0000 (22:38 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 14 Jan 2007 07:15:08 +0000 (02:15 -0500) | ||
commit | 2eb26d8454de77f45bbbfc32eed2a6c3133fe963 | |
tree | 6e754f1d2e84821f6f6386cc7da06e1d1d3ae628 | tree | snapshot |
parent | 264244a0429e23616a6065f6f52a15711981a8db | commit | diff |
Fixed GPF in fast-import caused by unterminated linked list.
fast-import was encounting a GPF when it ran out of free tree_entry
objects but didn't know this was the cause because the last
tree_entry wasn't terminated with a NULL pointer. The missing NULL
pointer occurred when we allocated additional entries via xmalloc
but didn't set the last tree_entry's "next" pointer to NULL.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import was encounting a GPF when it ran out of free tree_entry
objects but didn't know this was the cause because the last
tree_entry wasn't terminated with a NULL pointer. The missing NULL
pointer occurred when we allocated additional entries via xmalloc
but didn't set the last tree_entry's "next" pointer to NULL.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c | diff | blob | history |