DNP332 driver and DNP3_NG driver closes unexpectedly on receiving an object with a 0 timestamp on systems with a timezone greater or equal than GMT+1

DNP332 driver and DNP3_NG driver closes unexpectedly on receiving an object with a 0 timestamp on systems with a timezone greater or equal than GMT+1

Summary

When the DNP332 driver or the DNP3_NG driver receives a DNP object that contains a 0 timestamp, (01.01.1970 0:00:00.000) the driver can close unexpectedly processing this timestamp value when the system is configured to use a timezone larger or equal than GMT+1.

Description

When the DNP332 driver or the DNP3_NG driver receives a DNP object that contains a 0 timestamp, (01.01.1970 0:00:00.000) the driver can close unexpectedly processing this timestamp value when the system is configured to use a timezone larger or equal than GMT+1.

Solution

An issue was addressed in the DNP332 and the DNP3_NG drivers where a 0 timestamp was not handled properly, which caused the driver to stop working. Now a 0 timestamp is considered invalid, and the value is timestamped with the local PC time, as if no timestamp was received. A solution would be to make sure the outstation is correctly time synchronized, with a valid time source. A workaround would be to change the timezone settings of the PC to GMT time or a GMT-x timezone.

Information

addressed in version 420x of the DNP332 driver addressed in version 60x of the DNP3_NG driver available from version 7.00 SP0 build 6



Issue Number: 28425
Fixed on Date: 14.12.2012
Versions: 7.00 0 BUILD 6