Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - CDF / CDF_SET_VALIDATE

CDF_SET_VALIDATE

CDF_SET_VALIDATE

The CDF_SET_VALIDATE procedure ensures that file data values are validated when CDF files are opened. The purpose of data checking is to uncover security problems (buffer overflow, for example) caused by compromised CDF files. The data validation process involves extra processing overhead, so turn data checking off if the files are known to be clean and uncompromised.

Examples


; Do not perform data validation when CDF files are opened.
CDF_SET_VALIDATE, /NO
id = CDF_OPEN('myfile.cdf')
; Process your CDF data
. . .
CDF_CLOSE, id

Syntax


CDF_SET_VALIDATE [, /YES | /NO]

Keywords


NO

Set this keyword to bypass data checking when CDF files are opened.

YES

Set this keyword to check file data when CDF files are opened. This is the default behavior.

Version History


8.0

Introduced

See Also


CDF_CONTROL, CDF_INQUIRE, CDF_VARINQ



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us