qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qemu-img: fix coverity nits
@ 2017-02-10 16:28 Peter Maydell
  2017-02-10 16:28 ` [Qemu-devel] [PATCH 1/2] qemu-img: Use qemu_strtoul() rather than raw strtoul() Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Peter Maydell @ 2017-02-10 16:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches, Kevin Wolf, Max Reitz, qemu-block

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(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-11 23:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 16:28 [Qemu-devel] [PATCH 0/2] qemu-img: fix coverity nits Peter Maydell
2017-02-10 16:28 ` [Qemu-devel] [PATCH 1/2] qemu-img: Use qemu_strtoul() rather than raw strtoul() Peter Maydell
2017-02-11  3:56   ` Philippe Mathieu-Daudé
2017-02-10 16:28 ` [Qemu-devel] [PATCH 2/2] qemu-img: Avoid setting ret to unused value in img_convert() Peter Maydell
2017-02-11  3:57   ` Philippe Mathieu-Daudé
2017-02-11 23:58 ` [Qemu-devel] [PATCH 0/2] qemu-img: fix coverity nits Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).