Red Hat Bugzilla – Bug 152866
lsraid/raidtools fails segmentation violation after 100+days uptime
Last modified: 2008-05-01 11:38:06 EDT
RH 9.0: /sbin/lsraid -A -p violates due to increasing line length in
/proc/partitions. Compiled line length is 100. in 'load_partitions()', opens
/proc/partitions and reads up to MAX_LINE_LENGTH. Since line lengths in
/proc/partitions can exceed 100 chs, susequent reads get rubbish read and result
is violation. Increasing MAX_LINE_LENGTH to 255 avoided problem and
stopped violation. (This was the version of raidtools downloaded from
I note that FC3 does not have as many columns in /proc/partitions and so would not
suffer from this problem
------- Additional Comments From firstname.lastname@example.org 2004-12-21 08:29:13 ----
While this would be an easily fixable bug, this is not a security problem as
those tools are not setuid. Feel free to reopen and debate this again if at
some point we'll have to make a RHL9 update to raidtools for some other reason.
------- Bug moved to this database by email@example.com 2005-03-30 18:30 -------
This bug previously known as bug 2332 at https://bugzilla.fedora.us/
Originally filed under the Fedora Legacy product and General component.
Unknown priority P2. Setting to default priority "normal".
Unknown platform PC. Setting to default platform "All".
The original reporter of this bug does not have
an account here. Reassigning to the person who moved
it here, firstname.lastname@example.org.
Previous reporter was email@example.com.
Setting qa contact to the default for this product.
This bug either had no qa contact or an invalid one.