IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 43056


Ignore:
Timestamp:
Jul 3, 2026, 2:56:35 PM (12 days ago)
Author:
eugene
Message:

avoid segfault if missing shutter correction, return an error instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ppMerge/src/ppMergeLoop.c

    r42785 r43056  
    217217            if (type == PPMERGE_TYPE_SHUTTER) {
    218218                shutterRef = pmShutterCorrectionReference(shutters->data[cellNum]);
     219                if (!isfinite(shutterRef)) {
     220                    psError(PS_ERR_UNKNOWN, false, "failure in pmShutterCorrectionReference");
     221                    goto ERROR;
     222                }
    219223                pattern = pmReadoutAlloc(NULL);
    220224            }
Note: See TracChangeset for help on using the changeset viewer.