*** buffer overflow detected ***: terminated points to ares_fds
Cristian Rodríguez
crrodriguez at opensuse.org
Tue Jan 4 01:39:14 CET 2022
>
>
> nfds = 32767
>
wut ? you cannot do that.. select cannot test on the first 0 to (32767 -1)
file descriptors on each set.. only up to FD_SETSIZE .. no wonder why
FD_SET is choking on ares_fds() you are indeed going over the interface
limits..
yeah sizeof(read_fds) is 128 .. which is the size of the fd_set structure,
not the number of fds in the set...
Use poll or epoll instead.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.haxx.se/pipermail/c-ares/attachments/20220103/d0490e87/attachment.htm>
More information about the c-ares
mailing list