Re: git log - crash and core dump
- From
Antoine Pelisse <apelisse@gmail.com>
- Date
- Apr 16, 2013, 21:24 UTC
- Message-ID
- <CALWbr2xpweZOYo6szAJL5axdBBrV-c1-X_yuh6FAZQbq4iVcTw@mail.gmail.com>
- In-Reply-To
- <7v61zml0ow.fsf@alter.siamese.dyndns.org>
On Tue, Apr 16, 2013 at 9:45 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> It still is curious how a malformed line was created in the first > place. I wouldn't worry if a private tool used hash-object to > create such a commit, but if it is something that is commonly used > (e.g. "git commit"), others may suffer from the same and the tool > needs to be tightened a bit.
I already happened to see one like that, and it was clearly imported through remote-hg. I've not been able to reproduce though, and the parser in git-fast-import seemed already robust enough to me to not allow this kind of messed-up line. I will see if I can find some time to reproduce/investigate this deeper.