Re: [PATCH] afs: Replace simple_strtoul with kstrtoul in afs_parse_address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Su Hui <suhui@xxxxxxxxxxxx> 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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux