IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28275


Ignore:
Timestamp:
Jun 9, 2010, 3:19:45 PM (16 years ago)
Author:
bills
Message:

avoid segv if reading table fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksremove.c

    r27469 r28275  
    940940
    941941        psArray *inTable = psFitsReadTable(in->fits);
     942        if (!inTable) {
     943            psErrorStackPrint(stderr, "failed to read tablle in %s", in->resolved_name);
     944            streaksExit("", PS_EXIT_DATA_ERROR);
     945        }
    942946        if (!inTable->n) {
    943947            psErrorStackPrint(stderr, "table in %s is empty", in->resolved_name);
Note: See TracChangeset for help on using the changeset viewer.