qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: jim@meyering.net
To: qemu-devel@nongnu.org
Cc: Jim Meyering <meyering@redhat.com>
Subject: [Qemu-devel] [PATCH 0/3] unchecked uses of strdup
Date: Tue, 15 May 2012 15:04:35 +0200	[thread overview]
Message-ID: <1337087078-24056-1-git-send-email-jim@meyering.net> (raw)

From: Jim Meyering <meyering@redhat.com>

I've been auditing for unchecked uses of strdup.
Here are fixes for a few:

Jim Meyering (3):
  envlist.c: handle strdup failure
  scsi,pci,qdev,isa-bus,sysbus: don't let *_get_fw_dev_path return NULL
  sparc: use g_strdup in place of unchecked strdup

 envlist.c          | 9 ++++++++-
 hw/ide/qdev.c      | 2 +-
 hw/isa-bus.c       | 2 +-
 hw/pci.c           | 2 +-
 hw/qdev.c          | 2 +-
 hw/scsi-bus.c      | 8 ++------
 hw/sysbus.c        | 2 +-
 target-sparc/cpu.c | 4 ++--
 8 files changed, 17 insertions(+), 14 deletions(-)

--
1.7.10.2.484.gcd07cc5

             reply	other threads:[~2012-05-15 13:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15 13:04 jim [this message]
2012-05-15 13:04 ` [Qemu-devel] [PATCH 1/3] envlist.c: handle strdup failure jim
2012-05-19 15:55   ` Blue Swirl
2012-05-21 10:25     ` Jim Meyering
2012-05-21 17:56       ` Blue Swirl
2012-05-22  8:23         ` Kevin Wolf
2012-05-22  9:05           ` Jim Meyering
2012-05-22  9:34             ` Kevin Wolf
2012-05-22  9:50               ` Jim Meyering
2012-05-15 13:04 ` [Qemu-devel] [PATCH 2/3] scsi, pci, qdev, isa-bus, sysbus: don't let *_get_fw_dev_path return NULL jim
2012-05-15 13:13   ` Paolo Bonzini
2012-05-15 13:35   ` Kevin Wolf
2012-05-15 13:04 ` [Qemu-devel] [PATCH 3/3] sparc: use g_strdup in place of unchecked strdup jim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337087078-24056-1-git-send-email-jim@meyering.net \
    --to=jim@meyering.net \
    --cc=meyering@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).