[torqueusers] Off-by-one error in pbsd_main.c

Garrick Staples garrick at usc.edu
Tue Jan 10 02:19:05 MST 2006

On Tue, Jan 10, 2006 at 08:54:24AM +0100, ?ke Sandgren alleged:
> There is a off-by-one error in TLoadConfig.
> length should have +2 and not +1 at the end to give room for the
> terminating '\0'.
> The variable name for the string is also really ugly, home_dir??
> Maybe cfgfile or something instead.

Checked in the +2, thanks.

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/20060110/38496bdb/attachment.bin

More information about the torqueusers mailing list