Lsraid segfault

From: K.-M. Hansche <hidden>
Date: 2004-02-11 08:01:23

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<MAJORS)"
should increase security as well. It isn't enough to solve the problem,
though.

If you've got any questions, please mail me diretly, as I'm not
subscribing this list.

Ragards,

K.-M. Hansche

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help