Re: [PATCH 2/2] lockfile: set lk->fd = -1 in 'rollback_lock_file()'

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Tuesday, February 10, 2009 - 8:29 am

Guanqun Lu <guanqun.lu@gmail.com> writes:


Is there a broken caller this patch fixes?  IOW, is there a codepath that
can call rollback and then later notices lk->fd is not negative and uses
it without checking lk->filename[0] first?

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] lockfile: set lk->fd = -1 in 'rollback_loc ..., Junio C Hamano, (Tue Feb 10, 8:29 am)