[Mauiusers] Bug found in maui

Josh Butikofer josh at clusterresources.com
Thu Nov 30 17:00:43 MST 2006


Ake,

This should be fixed in the latest snapshot.

Thanks,

-- 
Joshua Butikofer
Cluster Resources, Inc.

josh at clusterresources.com
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
> +        );
>      }
> 


More information about the mauiusers mailing list