Correct the type of the temporary variable used by ufs_lookup.c:1.78
to fix the race condition in the ufs_lookup() ISDOTDOT code. Noticed by: bde MFC after: 12 days
This commit is contained in:
parent
5ef5ee7b62
commit
875e108755
@ -153,7 +153,7 @@ ufs_lookup(ap)
|
||||
int flags = cnp->cn_flags;
|
||||
int nameiop = cnp->cn_nameiop;
|
||||
struct thread *td = cnp->cn_thread;
|
||||
u_int32_t saved_ino;
|
||||
ino_t saved_ino;
|
||||
|
||||
bp = NULL;
|
||||
slotoffset = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user