rpms/pciutils/F-9 pciutils-dir-d.patch, 1.2, 1.3 pciutils.spec, 1.60, 1.61

Michal Hlavinka mhlavink at fedoraproject.org
Thu Feb 26 17:00:01 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/pciutils/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20569

Modified Files:
	pciutils-dir-d.patch pciutils.spec 
Log Message:
fix: lspci segfaults when pci.ids cannot be found (#487516)


pciutils-dir-d.patch:

Index: pciutils-dir-d.patch
===================================================================
RCS file: /cvs/extras/rpms/pciutils/F-9/pciutils-dir-d.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pciutils-dir-d.patch	21 Jan 2008 13:31:25 -0000	1.2
+++ pciutils-dir-d.patch	26 Feb 2009 16:59:31 -0000	1.3
@@ -44,7 +44,7 @@
    a->hash_load_failed = 1;
    if (!(f = pci_open(a)))
 -    return 0;
-+    pci_new_load_name_list(a);
++    return pci_new_load_name_list(a);
    a->id_hash = pci_malloc(a, sizeof(struct id_entry *) * HASH_SIZE);
    memset(a->id_hash, 0, sizeof(struct id_entry *) * HASH_SIZE);
 -  err = id_parse_list(a, f, &lino);


Index: pciutils.spec
===================================================================
RCS file: /cvs/extras/rpms/pciutils/F-9/pciutils.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- pciutils.spec	22 Sep 2008 10:01:57 -0000	1.60
+++ pciutils.spec	26 Feb 2009 16:59:31 -0000	1.61
@@ -1,6 +1,6 @@
 Name:		pciutils
 Version:	2.2.10
-Release: 	3%{?dist}
+Release: 	4%{?dist}
 Source:		ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/%{name}-%{version}.tar.gz
 Patch0:		pciutils-strip.patch
 Patch1: 	pciutils-2.2.4-buf.patch
@@ -91,6 +91,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Thu Feb 26 2009 Michal Hlavinka <mhlavink at redhat.com> 2.2.10-4
+- fix: lspci segfaults when pci.ids cannot be found (#487516)
+
 * Mon Sep 22 2008 Michal Hlavinka <mhlavink at redhat.com> 2.2.10-3
 - add support for Super-H (sh3,sh4) (#446600)
 - fix: broken -L in libpci.pc (#456469)




More information about the fedora-extras-commits mailing list