Re: [PATCH] ifconfig: prefix length handling fixes for -A

2024-04-24 Thread Erik Auerswald
Hi Simon, On Wed, Apr 24, 2024 at 02:55:41PM +0200, Simon Josefsson wrote: > Erik Auerswald writes: > > > > while "ifconfig -A" now accepts CIDR notation, it does not reject > > prefix length values outside of [0,32]. Also, with a prefix length > > of 0, undefined begavior is invoked, and at

Re: [PATCH] ifconfig: prefix length handling fixes for -A

2024-04-24 Thread Simon Josefsson via Bug reports for the GNU Internet utilities
ic. Maybe add some other odd values in the self-test? Like 1212237832782387238723823782 and -1238912x1298129. Thanks for adding regression checks! /Simon > Br, > Erik > > From d4d56a3d36be612d22a9a2146e53698c967ec5e9 Mon Sep 17 00:00:00 2001 > From: Erik Auerswald > Date: Tue, 23 Apr

[PATCH] ifconfig: prefix length handling fixes for -A

2024-04-23 Thread Erik Auerswald
can commit the changes. What do you think? Br, Erik >From d4d56a3d36be612d22a9a2146e53698c967ec5e9 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Tue, 23 Apr 2024 22:28:19 +0200 Subject: [PATCH] ifconfig: prefix length handling fixes for -A With option -A, ifconfig accepted too small and too