IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15220


Ignore:
Timestamp:
Oct 4, 2007, 12:55:37 PM (19 years ago)
Author:
Paul Price
Message:

Put in check for coordinates of stamp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.c

    r14947 r15220  
    7070    if (!mask) {
    7171        return true;
     72    }
     73    if (x < 0 || x >= mask->numCols || y < 0 || y >= mask->numRows) {
     74        return false;
    7275    }
    7376    return (mask->data.PS_TYPE_MASK_DATA[y][x] & (PM_SUBTRACTION_MASK_BORDER |
Note: See TracChangeset for help on using the changeset viewer.