Bug#1067760: libc6: Curious behavior of inet_pton() on IPv4 mapped numbers

2024-03-26 Thread Aurelien Jarno
Hi, Thanks for your bug report. On 2024-03-26 12:53, Alessandro Vesely wrote: > Package: libc6 > Version: 2.36-9+deb12u4 > Severity: normal > Tags: ipv6 > > Dear Maintainer, > > I compiled the example program given in the inet_pton(3) man page, and obtain > the following: > > $ ./a.out i6

Bug#1067760: libc6: Curious behavior of inet_pton() on IPv4 mapped numbers

2024-03-26 Thread Alessandro Vesely
On Tue 26/Mar/2024 17:34:20 +0100 Bastian Blank wrote: On Tue, Mar 26, 2024 at 12:53:42PM +0100, Alessandro Vesely wrote: I compiled the example program given in the inet_pton(3) man page, and obtain the following: $ ./a.out i6 0:0:0::5.6.7.8 Not in presentation format This is no valid

Bug#1067760: libc6: Curious behavior of inet_pton() on IPv4 mapped numbers

2024-03-26 Thread Bastian Blank
On Tue, Mar 26, 2024 at 12:53:42PM +0100, Alessandro Vesely wrote: > I compiled the example program given in the inet_pton(3) man page, and obtain > the following: > $ ./a.out i6 0:0:0::5.6.7.8 > Not in presentation format This is no valid IPv6 address. Where did you find that? Bastian --

Bug#1067760: libc6: Curious behavior of inet_pton() on IPv4 mapped numbers

2024-03-26 Thread Alessandro Vesely
Package: libc6 Version: 2.36-9+deb12u4 Severity: normal Tags: ipv6 Dear Maintainer, I compiled the example program given in the inet_pton(3) man page, and obtain the following: $ ./a.out i6 0:0:0::5:6:7:8 :::5:6:7:8 $ ./a.out i6 0:0:0::5.6.7.8 Not in presentation format $ ./a.out