Re: Buffer underwrite in inet_net_pton_ipv4

2025-01-17 Thread Nikolaos Chatzikonstantinou
On Tue, Dec 17, 2024 at 7:14 AM Claudio Jeker wrote: > > On Mon, Dec 16, 2024 at 09:32:56AM -0500, Nikolaos Chatzikonstantinou wrote: > > Hello list, > > > > In src/lib/libc/net/inet_net_pton.c:inet_net_pton_ipv4 on branch > > master, there appears to be an issue of underwriting the buffer. Let >

Re: Buffer underwrite in inet_net_pton_ipv4

2024-12-17 Thread Claudio Jeker
On Mon, Dec 16, 2024 at 09:32:56AM -0500, Nikolaos Chatzikonstantinou wrote: > Hello list, > > In src/lib/libc/net/inet_net_pton.c:inet_net_pton_ipv4 on branch > master, there appears to be an issue of underwriting the buffer. Let > me explain. > > The IPv4 format allows for addresses such as 10/

Buffer underwrite in inet_net_pton_ipv4

2024-12-16 Thread Nikolaos Chatzikonstantinou
Hello list, In src/lib/libc/net/inet_net_pton.c:inet_net_pton_ipv4 on branch master, there appears to be an issue of underwriting the buffer. Let me explain. The IPv4 format allows for addresses such as 10/8, which is shorthand for the IP 10.0.0.0 with 16777216 addresses in 256 blocks (e.g. RFC46