From: Jim Meyering <meyer...@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