bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/5] libtrivfs: fix an use-after-free error


From: Samuel Thibault
Subject: Re: [PATCH 5/5] libtrivfs: fix an use-after-free error
Date: Fri, 1 Nov 2013 22:41:17 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Thomas Schwinge, le Fri 25 Oct 2013 15:34:04 +0200, a écrit :
> > I think it'd be clearer to unconditionally declare cntl before the if block 
> > and
> > call pthread_mutex_unlock on &cntl->lock after the if block instead of 
> > inside
> > the if and again inside the else.
> 
> I agree; OK to push with that changed.

Done so.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]