lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171031173101.59e0047a@shemminger-XPS-13-9360>
Date:   Tue, 31 Oct 2017 17:31:01 +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 1/1] ip netns: use strtol() instead of atoi()

On Fri, 27 Oct 2017 12:55:27 -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.
> 
> Signed-off-by: Roman Mashak <mrv@...atatu.com>

Since network namespace is really an unsigned value, shouldn't it be
using get_unsigned?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ