From mboxrd@z Thu Jan 1 00:00:00 1970 From: "K.-M. Hansche" Subject: Lsraid segfault Date: Wed, 11 Feb 2004 09:01:23 +0100 Sender: linux-raid-owner@vger.kernel.org Message-ID: <20040211080123.GC291@hanschek> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM" Return-path: Content-Disposition: inline To: linux-raid@vger.kernel.org List-Id: linux-raid.ids --cWoXeonUoKmBZSoM Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Hi there, lsraid 0.7.0 segfaults in load_partition while trying to reference a not existing entry in !ctxt->devtable[major] on my RedHat AS 2.1. The offending /proc/partitions is attached to this mail. The easy fix of increasing MAX_LINE_LENGTH to 200 worked on my box. And changing "if (*name && major)" to "if (*name && major && major