Thread (4 messages) flat view 4 messages, 3 authors, 2006-01-11

mdadm-2.2 SEGFAULT: mdadm --assemble --scan

From: Andre Noll <hidden>
Date: 2005-12-22 20:58:09

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help