Re: [PATCH] Fix segfaults caused by invalid tags
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 2, 2005, 20:16 UTC
- Message-ID
- <Pine.LNX.4.63.0511022115250.13746@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20051102200751.26904.5780.stgit@machine.or.cz>
Hi,
On Wed, 2 Nov 2005, Petr Baudis wrote:
> On many places, we didn't bother checking deref_tag() return value against > NULL, causing GIT segfaulting e.g. on some old Cogito checkouts containing > residual tags from GIT.
Shouldn't a warning be issued in every of those cases? I don't know, but those tags pointing nowhere don't seem useful to me.
Ciao, Dscho