[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] More qemu_strtosz fixes
From: |
Eric Blake |
Subject: |
Re: [PATCH 0/2] More qemu_strtosz fixes |
Date: |
Wed, 17 Mar 2021 10:28:27 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/17/21 10:15 AM, no-reply@patchew.org wrote:
> Patchew URL:
> 20210317143325.2165821-1-eblake@redhat.com/">https://patchew.org/QEMU/20210317143325.2165821-1-eblake@redhat.com/
>
> === OUTPUT BEGIN ===
> 1/2 Checking commit 81af63e53841 (utils: Tighter tests for qemu_strtosz)
> 2/2 Checking commit 36c9a8f42010 (utils: Work around mingw strto*l bug with
> 0x)
> ERROR: consider using qemu_strtol in preference to strtol
> #141: FILE: util/cutils.c:409:
> + if (strtol(nptr, &tmp, 10) == 0 && errno == 0 &&
>
> total: 1 errors, 0 warnings, 169 lines checked
>
Intentional. This code is part of the implementation of qemu_strtol, and
we don't want infinite recursion ;)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org