[Mauiusers] Big bug in latest maui (and all previous ones too probably)

Åke Sandgren ake.sandgren at hpc2n.umu.se
Fri Sep 16 00:19:55 MDT 2005

On Thu, 2005-09-15 at 13:19 +0200, Åke Sandgren wrote:
> On Thu, 2005-09-15 at 09:10 +0200, Åke Sandgren wrote:
> > Hi!
> > 
> > We just got hit by a bad buffer overflow bug in the UI part of the code.
> > One user submitted 2300 jobs and when doing showq the server crashes.
> > 
> > The problems is a buffer overwrite causing stack thrashing emanating
> > from UIProcessCommand. The local SBuffer there gets too much data
> > overwriting the inparameter msocket_t *S.

Attached is one patch that will at least stop one buffer overrun from
taking place.

This one tripped me when i submitted 5000 jobs and then did diagnose -q

-------------- next part --------------
A non-text attachment was scrubbed...
Name: buffer.patch
Type: text/x-patch
Size: 2536 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20050916/122cda6e/buffer.bin

More information about the mauiusers mailing list