[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <685978.1748597572@warthog.procyon.org.uk>
Date: Fri, 30 May 2025 10:32:52 +0100
From: David Howells <dhowells@...hat.com>
To: Su Hui <suhui@...china.com>
Cc: dhowells@...hat.com, marc.dionne@...istor.com,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] afs: Replace simple_strtoul with kstrtoul in afs_parse_address
Su Hui <suhui@...china.com> wrote:
> kstrtoul() is better because simple_strtoul() ignores overflow which
> may lead to unexpected results.
Overflow in what sense? Are we talking about a mathematical overflow or not
checking the text beyond the end of the number?
David
Powered by blists - more mailing lists