[torqueusers] mom segfault in new diag code

Garrick Staples garrick at usc.edu
Wed Oct 27 17:33:35 MDT 2004


torque-1.1.0p4-snap.1098121584

The new momctl diag code is segfaulting in mom_main.c:rm_request().  It seems
that neither tmpLine or output are large enough.  Specifically the second
strcat in this code is overflowing output:

            if (verbositylevel >= 1)
              {
              /* display okclient list */
              
              tmpLine[0] = '\0';
                
              tlist(okclients,tmpLine,1024);
              
              strcat(output,"Trusted Client List:   ");
              
              strcat(output,tmpLine);
              
              strcat(output,"\n");
              }


-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20041027/d774f812/attachment.bin


More information about the torqueusers mailing list