fixed a showq -r segv when user only request for node property

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@155 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
bas 2013-09-11 08:57:08 +00:00
parent d2f4f78302
commit 6888fcd7f3
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,9 @@ Maui 3.3.2
- catch socket errors for MSUAcceptClient. So no errors in the log file (Author: Jonathan Barber, applied
by Bas van der Vlies):
* accept call failed, errno: 11 (Resource temporarily unavailable)
- Fixed an segv for showq -r, when user submit a job without specifying how many nodes, just a node property, eg:
* qsub -lnodes=infiniband -Ii (Authors: Bas van der Vlies/Dennis Stam, SURFsara)
Maui 3.3.1
- Fixed issue where hostlist was being overwritten resulting in broken $PBS_NODEFILE. (Alexis Cousein)
- Fixed issue where users could set system priority on their own jobs. (Bas van der Vlies)

View File

@ -10139,7 +10139,7 @@ int UIQueueShowAJobs(
J->PSUtilized,
P->Name,
RQ->TaskCount * RQ->DRes.Mem,
((J->NodeList != NULL) && (J->NodeList[0].N->Name[0] != '\0')) ?
((J->NodeList != NULL) && (J->NodeList[0].N != NULL) && (J->NodeList[0].N->Name[0] != '\0')) ?
MNodeAdjustName(J->NodeList[0].N->Name,0) : NONE,
J->Flags,
J->AWallTime,