[torquedev] segfault in qselect

Garrick Staples garrick at usc.edu
Thu Jul 22 14:23:22 MDT 2010


Can you believe that I just found that the destination char* for qselect's -q
option has been too small since at least 2.1.x?

It was set to be the max size length of queue name, not the max size of a
destination!

#define PBS_MAXROUTEDEST (PBS_MAXQUEUENAME + PBS_MAXSERVERNAME + PBS_MAXPORTNUM + 2) /* destination size */

Fixed in 2.{1,2,3,4,5}-fixes and trunk.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- 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/torquedev/attachments/20100722/e022009f/attachment-0001.bin 


More information about the torquedev mailing list