[torqueusers] Off-by-one error in pbsd_main.c
Åke Sandgren
ake.sandgren at hpc2n.umu.se
Tue Jan 10 00:54:24 MST 2006
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.
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake at hpc2n.umu.se Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
More information about the torqueusers
mailing list