Ake,

This should be fixed in the latest snapshot.

Thanks,

--
Joshua Butikofer
Cluster Resources, Inc.

[EMAIL PROTECTED]
Voice: (801) 717-3707
Fax:   (801) 717-3738
--------------------------


Åke Sandgren wrote:
Deref of NULL pointer.

--- /home/peterg/software/tmp/maui-3.2.6p18/src/moab/MPriority.c
2006-11-21 15:51:13.000000000 +0100
+++ etc/maui-integration/src/moab/MPriority.c   2006-11-29
08:09:17.000000000 +0100
@@ -224,7 +224,12 @@

   if (X.XJobGetStartPriority != (int (*)())0)
     {
-    return((*X.XJobGetStartPriority)(X.xd,J,Priority,*BPtr));
+        return (*X.XJobGetStartPriority)(
+            X.xd,
+            J,
+            Priority,
+            (BPtr != NULL) ? *BPtr : NULL
+        );
     }

_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers

Reply via email to