IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2008, 4:04:30 PM (18 years ago)
Author:
Paul Price
Message:

Catch SEGV when !item.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigMask.c

    r18961 r19040  
    110110
    111111        psMetadataItem *item = psMetadataLookup(recipe, name); // Item in recipe with current value
    112         if (item->type != PS_TYPE_MASK) {
     112        if (item && item->type != PS_TYPE_MASK) {
    113113            psWarning("Mask recipe entry is not of a mask type (%x)", item->type);
    114114            item->type = PS_TYPE_MASK;
Note: See TracChangeset for help on using the changeset viewer.