Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

Passing an invalid time to the FileSetTime function can cause the time on a file to be set to a date that is out of range.

The function is supposed to check that the new time is valid before changing the file time.

This check was not being done.


A necessary condition to check the range of valid time has been added. The FileSetTime function should now do nothing whenever an invalid time is passed.

CIT has confirmed this to be a problem in Citect for Windows versions 3.XX to 5.XX. This problem has been fixed in version 5.21.