[Top][All Lists]

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

Re: port leak in select

From: Samuel Thibault
Subject: Re: port leak in select
Date: Fri, 2 Dec 2016 10:43:04 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Richard Braun, on Fri 02 Dec 2016 10:28:48 +0100, wrote:
> > as well as in the error case of __io_select_request, and then just check
> > against MACH_PORT_NULL before destroy.
> So the condition would look like
> if (d[i].type && (d[i].reply_port != MACH_PORT_NULL))

Or simply

  (d[i].reply_port != MACH_PORT_NULL))


reply via email to

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