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
CDF_SET_VALIDATE, /NO
id = CDF_OPEN('myfile.cdf')
. . .
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
See Also
CDF_CONTROL, CDF_INQUIRE, CDF_VARINQ