Hi, I have a report that in ncurses/tty/lib_twait.c around line 286 there is Off-by-one Buffer Error:
```
for (c = 0; c < count; c++)
if (fds[count].revents & POLLNVAL) {
errno = EBADF;
} else if (fds[c].fd == ev->data.fev.fd
&& fds[c].revents & POLLIN) {
// ...
}
```
even if this report is not valid it would help the readers to move
the fds[count] before the loop.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature
