IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17656


Ignore:
Timestamp:
May 13, 2008, 12:03:21 PM (18 years ago)
Author:
Paul Price
Message:

Ensure input tilesize vector is non-NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.c

    r16993 r17656  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-03-14 18:24:27 $
     9 *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-05-13 22:03:21 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    603603
    604604    // if we are setting a trivial compression (NONE), don't bother with the other parameters
    605     if (type == PS_FITS_COMPRESS_NONE) return true;
     605    if (type == PS_FITS_COMPRESS_NONE) {
     606        return true;
     607    }
     608
     609    PS_ASSERT_VECTOR_NON_NULL(tilesize, false);
    606610
    607611    // convert a psVector into the (long *) array that cfitsio requires
Note: See TracChangeset for help on using the changeset viewer.