Re: stack overflow in getaddrinfo(3) with a small-sized stack in pthreads

2021-12-04 Thread Havard Eidnes
> Joerg Sonnenberger wrote in > : > |On Mon, Nov 29, 2021 at 08:38:35PM +0700, Robert Elz wrote: > |> DNS queries (via UDP) are limited to max 512, as that is what the > |> protocol always required, so can be handled by everything (or should be). That disregards EDNS0, which in the DNS "in gen

Re: stack overflow in getaddrinfo(3) with a small-sized stack in pthreads

2021-12-04 Thread Martin Husemann
On Sat, Dec 04, 2021 at 11:20:26AM +0100, Havard Eidnes wrote: > > Joerg Sonnenberger wrote in > > : > > |On Mon, Nov 29, 2021 at 08:38:35PM +0700, Robert Elz wrote: > > |> DNS queries (via UDP) are limited to max 512, as that is what the > > |> protocol always required, so can be handled by ev

Re: stack overflow in getaddrinfo(3) with a small-sized stack in pthreads

2021-12-04 Thread Havard Eidnes
>> > |> DNS queries (via UDP) are limited to max 512, as that is what the >> > |> protocol always required, so can be handled by everything (or should >> > be). >> >> That disregards EDNS0, which in the DNS "in general" is pretty >> much universally supported these days. After all, it's nearly