[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171101220641.2b710a94@shemminger-XPS-13-9360>
Date: Wed, 1 Nov 2017 22:06:41 +0100
From: Stephen Hemminger <stephen@...workplumber.org>
To: Roman Mashak <mrv@...atatu.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com
Subject: Re: [PATCH iproute2 v2 1/1] ip netns: use strtol() instead of
atoi()
On Tue, 31 Oct 2017 14:24:19 -0400
Roman Mashak <mrv@...atatu.com> wrote:
> Use strtol-based API to parse and validate integer input; atoi() does
> not detect errors and may yield undefined behaviour if result can't be
> represented.
>
> v2: use get_unsigned() since network namespace is really an unsigned value.
>
> Signed-off-by: Roman Mashak <mrv@...atatu.com>
Applied. Thanks Roman
Powered by blists - more mailing lists