IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18227


Ignore:
Timestamp:
Jun 19, 2008, 5:12:24 PM (18 years ago)
Author:
Paul Price
Message:

Saving SEGV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmHDUGenerate.c

    r16210 r18227  
    212212
    213213        const char *biassecSource = psMetadataLookupStr(&mdok, cell->config, "CELL.BIASSEC.SOURCE");
    214         if (strcmp(biassecSource, "VALUE") == 0) {
     214        if (biassecSource && strcmp(biassecSource, "VALUE") == 0) {
    215215            const char *biassecStr = psMetadataLookupStr(&mdok, cell->config, "CELL.BIASSEC");
    216216            psFree(biassecItem->data.V);
Note: See TracChangeset for help on using the changeset viewer.