linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andre Noll <maan@systemlinux.org>
To: linux-raid@vger.kernel.org
Cc: Neil Brown <neilb@suse.de>
Subject: mdadm-2.2 SEGFAULT: mdadm --assemble --scan
Date: Thu, 22 Dec 2005 21:58:09 +0100	[thread overview]
Message-ID: <20051222205809.GC492@skl-net.de> (raw)

sorry if this is already known/fixed: Assemble() is called from mdadm.c with
the "update" argument equal to NULL:

	Assemble(ss, array_list->devname, mdfd, array_list, configfile,
		NULL, readonly, runstop, NULL, verbose-quiet, force);

But in Assemble.c we have

	if (ident->uuid_set && (!update && strcmp(update, "uuid")!= 0) && ...

which yields a segfault in glibc's strcmp().

Andre
-- 
Jesus not only saves, he also frequently makes backups

             reply	other threads:[~2005-12-22 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 20:58 Andre Noll [this message]
2005-12-31 15:17 ` mdadm-2.2 SEGFAULT: mdadm --assemble --scan Andreas Haumer
2006-01-08 21:23   ` Bill Davidsen
2006-01-11 13:51     ` Andreas Haumer
2006-01-24  6:28       ` Neil Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051222205809.GC492@skl-net.de \
    --to=maan@systemlinux.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).