wkoszek 2007-05-01 10:47:09 UTC FreeBSD src repository
Modified files: lib/libgeom geom_getxml.c Log: Second call of sysctl() is used to gather a proper size of a memory chunk needed to hold the GEOM tree. At this point, pointer 'p' has an improper value (as it was used previously), and we're getting EFAULT. Fix this functionality by passing NULL instead of 'p'. This fixes mdconfig(8) -l output with high number of md(4) devices. Found by: kris Reviewed by: phk Revision Changes Path 1.2 +1 -1 src/lib/libgeom/geom_getxml.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"