Hi, On Wed, Jun 01, 2022 at 08:39:08PM +0100, Alexandru Elisei wrote: > Hi, > > On Wed, Jun 01, 2022 at 05:14:00PM +0100, Andre Przywara wrote: > > On Wed, 1 Jun 2022 15:17:50 +0100 > > Alexandru Elisei <alexandru.elisei@xxxxxxx> wrote: > > > > Hi Alex, > > [..] > > So if we care about garbage as an argument, we should do it by the book > > (strtoul manpage), and compare the next pointer to the input string > > I believe my approach is by the man page, where strotoull returns ERANGE on Err... by return ERANGE I mean that is sets errno to ERANGE (it return ULLONG_MAX on overflow). Thanks, Alex _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm