[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170727112605.58d9c7a2@xeon-e3>
Date: Thu, 27 Jul 2017 11:26:05 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Matteo Croce <mcroce@...hat.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netns: more input validation
On Tue, 25 Jul 2017 15:30:31 +0200
Matteo Croce <mcroce@...hat.com> wrote:
> ip netns accepts invalid input as namespace name like an empty string or a
> string longer than the maximum file name length.
> Check that the netns name is not empty and less than or equal to NAME_MAX.
>
> Signed-off-by: Matteo Croce <mcroce@...hat.com>
Sure, applied.
Powered by blists - more mailing lists