bug-hurd
[Top][All Lists]
Advanced

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

Re: race condition in libports


From: Samuel Thibault
Subject: Re: race condition in libports
Date: Fri, 5 Jan 2018 23:58:17 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Samuel Thibault, on ven. 05 janv. 2018 23:54:49 +0100, wrote:
> Brent W. Baccala, on ven. 05 janv. 2018 17:45:57 -0500, wrote:
> error_t
> fshelp_get_identity (struct port_bucket *bucket,
> .       .            ino_t fileno,
> .       .            mach_port_t *pt)
> 
> >    if (!idclass)
> >      id_initialize ();
> >  
> > -  i = hurd_ihash_find (&idhash, (hurd_ihash_key_t) fileno);
> > +  i = hurd_ihash_find (&idhash, (hurd_ihash_key_t) &fileno);
> 
> That can't mean anything

Ah, sorry, I read too fast, didn't notice the hash functions.

Samuel



reply via email to

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