On Mon, Mar 14, 2022 at 9:03 AM Iain Sandoe wrote:
>
>
>
> > On 14 Mar 2022, at 07:45, Richard Biener wrote:
> >
> > On Mon, Mar 14, 2022 at 12:17 AM Iain Sandoe via Gcc-patches
> > wrote:
> >>
> >> Some versions of the BSD getaddrinfo() call do not work with the specific
> >> input of "0" for t
> On 14 Mar 2022, at 07:45, Richard Biener wrote:
>
> On Mon, Mar 14, 2022 at 12:17 AM Iain Sandoe via Gcc-patches
> wrote:
>>
>> Some versions of the BSD getaddrinfo() call do not work with the specific
>> input of "0" for the servname entry (a segv results). Since we are making
>> the cal
On Mon, Mar 14, 2022 at 12:17 AM Iain Sandoe via Gcc-patches
wrote:
>
> Some versions of the BSD getaddrinfo() call do not work with the specific
> input of "0" for the servname entry (a segv results). Since we are making
> the call with a dummy port number, the value is actually not important, o
Some versions of the BSD getaddrinfo() call do not work with the specific
input of "0" for the servname entry (a segv results). Since we are making
the call with a dummy port number, the value is actually not important, other
than it should be in range. Work around the BSD bug by using "1" instea