All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] unchecked uses of strdup
@ 2012-05-15 13:04 jim
  2012-05-15 13:04 ` [Qemu-devel] [PATCH 1/3] envlist.c: handle strdup failure jim
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: jim @ 2012-05-15 13:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jim Meyering

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

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

end of thread, other threads:[~2012-05-22  9:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 13:04 [Qemu-devel] [PATCH 0/3] unchecked uses of strdup jim
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.