[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 0/2] qemu-img: fix coverity nits
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH 0/2] qemu-img: fix coverity nits |
Date: |
Sun, 12 Feb 2017 00:58:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 10.02.2017 17:28, Peter Maydell wrote:
> Coverity points out a couple of nits in qemu-img:
> * misuse of strtoul()
> * variable set but not used
>
> These patches fix the issues.
>
> Peter Maydell (2):
> qemu-img: Use qemu_strtoul() rather than raw strtoul()
> qemu-img: Avoid setting ret to unused value in img_convert()
>
> qemu-img.c | 40 ++++++++++++++++++++--------------------
> 1 file changed, 20 insertions(+), 20 deletions(-)
Thanks, applied to my block tree:
https://github.com/XanClic/qemu/commits/block
Max
signature.asc
Description: OpenPGP digital signature