[ovs-dev] [PATCH] packets: Make ip_parse_masked() pickier about formatting.

Ben Pfaff blp at nicira.com
Sat Oct 17 21:45:37 UTC 2015


On Sat, Oct 17, 2015 at 02:29:40PM -0700, Justin Pettit wrote:
> 
> > On Oct 17, 2015, at 2:03 PM, Ben Pfaff <blp at nicira.com> wrote:
> > 
> > It's happened a couple of times now that I've entered a typoed IP address,
> > e.g. "192.168.0.0$x", and ip_parse_masked() or its predecessor has accepted
> > it anyway, and it's been hard to track down the real problem.  This change
> > makes the parser pickier, by disallowing trailing garbage.
> > 
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> 
> Acked-by: Justin Pettit <jpettit at nicira.com>

Thanks, applied to master.



More information about the dev mailing list