TMPDIR env length bug in v19

Hi Team,

we found a issue on TMPDIR env in pbspro v19 version.

if a user setup TMPDIR with long path. the qsub would be stopped with seg fault.

user1@hostA:~ export TMPDIR=/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/cccccccccccccccccccccc user1@hostA:~ qsub -q batch – /bin/sleep 1
Segmentation fault

could you please help on fixing it ?

Thanks.

I believe this is already fixed in master branch at https://github.com/PBSPro/pbspro/pull/1017. This fix is not a part of 19.1, but will be part of the next major release.

Thanks for the info.