summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-02-27 22:13:00 +0000
committerJeremy Katz <katzj@redhat.com>2006-02-27 22:13:00 +0000
commitb2fa9998a5eab51b9dd9d68203219dfba9abfe5c (patch)
tree78e0ca983e5f681be6aad2783fee83c09136da89 /isys
parent3b60ba930e1fb2de4392d3ce81be4e5208d40f3d (diff)
downloadanaconda-b2fa9998a5eab51b9dd9d68203219dfba9abfe5c.tar.gz
anaconda-b2fa9998a5eab51b9dd9d68203219dfba9abfe5c.tar.xz
anaconda-b2fa9998a5eab51b9dd9d68203219dfba9abfe5c.zip
2006-02-27 Jeremy Katz <katzj@redhat.com>
* isys/eddsupport.c (uniqueSignatureExists): Fix segfault (#182589)
Diffstat (limited to 'isys')
-rw-r--r--isys/eddsupport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isys/eddsupport.c b/isys/eddsupport.c
index f757b9be3..0615f2fc1 100644
--- a/isys/eddsupport.c
+++ b/isys/eddsupport.c
@@ -130,6 +130,7 @@ static struct diskMapTable * uniqueSignatureExists(struct device **devices) {
}
for (devlist = devhead + 1; (*devlist) != NULL; devlist++) {
+ if (!(*devlist)->device) continue;
if (readDiskSig((*devlist)->device, &current_sig) < 0)
return NULL;