IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25817


Ignore:
Timestamp:
Oct 8, 2009, 6:20:43 PM (17 years ago)
Author:
bills
Message:

need to be more careful about float to int conversions
temporary fix to prevent memory overflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/ppstampMakeStamp.c

    r25726 r25817  
    157157        return NULL;
    158158    }
     159    if (copyWidth > width) {
     160        copyWidth = width;
     161    }
    159162
    160163    psImage *output = psImageAlloc(width, height, image->type.type);
Note: See TracChangeset for help on using the changeset viewer.