Re: [PATCH] fsck: do not crash on tag objects which do not contain an empty line
- From
Johan Herland <johan@herland.net>
- Date
- Jun 7, 2007, 23:08 UTC
- Message-ID
- <200706080108.50042.johan@herland.net>
- In-Reply-To
- <Pine.LNX.4.64.0706072338260.4046@racer.site>
On Friday 08 June 2007, Johannes Schindelin wrote:
> > The first empty line in a tag object separates the header from the > message. If the tag object has no empty line, do not crash, but > complain loudly instead.
Aren't tag objects _required_ to have an empty line separating the headers from the body? At least I wrote the new tag code with that assumption in mind.
Could this be related to the "error: char103: premature end of data" you're seeing?
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net