diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-02-27 22:13:00 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-02-27 22:13:00 +0000 |
commit | b2fa9998a5eab51b9dd9d68203219dfba9abfe5c (patch) | |
tree | 78e0ca983e5f681be6aad2783fee83c09136da89 /isys | |
parent | 3b60ba930e1fb2de4392d3ce81be4e5208d40f3d (diff) | |
download | anaconda-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.c | 1 |
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, ¤t_sig) < 0) return NULL; |