IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2015, 2:07:56 PM (11 years ago)
Author:
eugene
Message:

test for invalid matrix size in CreateBuffer, CreateBuffer3D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/imphot.c

    r34088 r39233  
    3636  if (GreyScale) {
    3737    if ((buf = SelectBuffer (bufname, ANYBUFFER, TRUE)) == NULL) return (FALSE);
    38     CreateBuffer (buf, 100, 200, -32, 0.0, 1.0);
     38    if (!CreateBuffer (buf, 100, 200, -32, 0.0, 1.0)) return FALSE;
    3939  }
    4040
Note: See TracChangeset for help on using the changeset viewer.