News for hackers. Stuff that matters.
Re:Poll on macOS 10.12 is broken by JdeBP on Wednesday October 12, 2016 @10:57AM (#12693413)
To repeat: The NULL pointer is not the locus of the bug, and this was explained by the detailed discussion from the headlined article. The NULL pointer for the array base is passed to copyin() and copyout() without incident, and those are its only uses by poll().
Re:Poll on macOS 10.12 is broken by gpderetta on Wednesday October 12, 2016 @11:09AM (#12693539)
To repeat: my point is that the test case shown in the article and described in the bug cannot be used to reliably identify a broken poll as passing NULL for fds is, strictly speaking, UB.

I'm not making any claim about the actual source of the poll bug here.

Re:Poll on macOS 10.12 is broken by JdeBP on Tuesday October 18, 2016 @10:54AM (#12734990)
At https://news.ycombinator.com/item?id=12689472 that's exactly what you stated, and you were wrong. The test case has a zero length array; that it what it is exercising; and that is the locus of the bug, as the headlined article's detailed discussion makes clear.