[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130411200656.42dfb8bb@nehalam.linuxnetplumber.net>
Date: Thu, 11 Apr 2013 20:06:56 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Mr Dash Four <mr.dash.four@...glemail.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] iproute2: lib/utils.c bug fixes
On Fri, 12 Apr 2013 03:30:45 +0100
Mr Dash Four <mr.dash.four@...glemail.com> wrote:
> This patch fixes the following 3 bugs in get_u32/get_u64 functions:
>
> 1. On 32-bit systems, get_u32 could not detect an overflow.
> get_u32(&l, "4294967296", 10) always returned 4294967295
> (ULONG_MAX on 32-bit systems).
>
> 2. get_u64(&ll, "4294967295", 10) was returning an error where
> it shouldn't have (4294967295 is perfectly legitimate value for
> unsigned long long).
>
> 3. get_u64 couldn't detect an overflow errors (arg > ULLONG_MAX)
>
> Signed-off-by: Mr Dash Four <mr.dash.four@...glemail.com>
I don't demand Developer Certificate of Origin on iproute2 patches.
But if you are going to include it then you must use your real name,
no pseudonyms. See kernel/Documentation/SubmittingPatches.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists