S7TCP32 driver stops if you read DATE AND TIME variable with wrong time values

S7TCP32 driver stops if you read DATE AND TIME variable with wrong time values

Summary

The S7TCP32 driver stops if it reads a DATE AND TIME variable with a wrong time value. That means one of the following Byte values is out of range: Byte 3 - hour - crash with value 30 or higher Byte 4 - minute - crash with a value 90 or higher Byte 5 - second - crash with a value 90 or higher

Description

The S7TCP32 driver stops if it reads a DATE AND TIME variable with a wrong time value. That means one of the following Byte values is out of range: Byte 3 - hour - crash with value 30 or higher Byte 4 - minute - crash with a value 90 or higher Byte 5 - second - crash with a value 90 or higher

Solution

received DATETIME validated



Issue Number: 31378
Fixed on Date: 18.2.2014
Versions: 7.10 0 BUILD 10378 | 7.11 0 BUILD 11206