diff options
author | Mike Fulbright <msf@redhat.com> | 2001-03-22 16:02:11 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-03-22 16:02:11 +0000 |
commit | 953e6b6a4de07178a841cad5e74e362f3611bdb3 (patch) | |
tree | 89ed7ae8d97335ff6e116b8a2a0fd6743d0ed9c7 /isys | |
parent | 93e7a03b703ba0a6ec56d48f5edf27d8734a647a (diff) | |
download | anaconda-953e6b6a4de07178a841cad5e74e362f3611bdb3.tar.gz anaconda-953e6b6a4de07178a841cad5e74e362f3611bdb3.tar.xz anaconda-953e6b6a4de07178a841cad5e74e362f3611bdb3.zip |
fix for bug 32246 - parsing status file for dac960 incorrectly
Diffstat (limited to 'isys')
-rw-r--r-- | isys/probe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isys/probe.c b/isys/probe.c index 3f97364f0..932ac16ca 100644 --- a/isys/probe.c +++ b/isys/probe.c @@ -426,6 +426,8 @@ static int dac960GetDevices(struct knownDevices * devices) { while (start && (start = strstr(start, "/dev/rd/"))) { start += 5; chptr = strchr(start, ':'); + if (!chptr) + continue; *chptr = '\0'; if (!deviceKnown(devices, start)) { |