From: Junio C Hamano Date: Thu, 30 Jul 2009 06:34:46 GMT Subject: Re: Fw: Null deref in recursive merge in df73af5f667a479764d2b2195cb0cb60b0b89e3d Message-ID: <7vy6q6k7ax.fsf@alter.siamese.dyndns.org> In-Reply-To: <20090729161030.GA3848@localhost> Clemens Buchacher writes: > Yeah, if process_entry leaves unmerged entries, write_tree_from_memory will > return NULL. I can reproduce with the following script (same principle as > t7405). Your script does not seem to cause write_tree_from_memory() to be called with an unmerged index while it tries to create a virtual commit.