2011/6/22 Eric Blake <eblake(a)redhat.com>:
See previous patch for why this is good...
* src/util/pci.c (struct _pciDevice, pciGetDevice, pciFreeDevice):
Manage path dynamically. Report snprintf overflow.
* src/util/hostusb.c (struct _usbDevice, usbGetDevice)
(usbFreeDevice): Likewise.
---
src/util/hostusb.c | 32 +++++++++++++++++++++++++-------
src/util/pci.c | 31 +++++++++++++++++++++++++------
2 files changed, 50 insertions(+), 13 deletions(-)
ACK.
--
Matthias Bolte
http://photron.blogspot.com