Thread (31 messages) 31 messages, 2 authors, 2022-06-15

Re: [PATCH v3 kvmtool 09/13] builtin_run: Allow standard size specifiers for memory

From: Alexandru Elisei <hidden>
Date: 2022-06-01 19:43:55
Also in: kvmarm

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:
quoted
On Wed, 1 Jun 2022 15:17:50 +0100
Alexandru Elisei [off-list ref] wrote:

Hi Alex,
[..]
quoted
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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help