Describe the bug
When increasing TotalAsserts in method AddAssertResult the array limits of AssertResults are not being checked, causing PLC crash due to invalid array index.
Expected behavior
Prevent crash by limit checks and sending error through ADSLOGSTR.
Remark: Prevent overflow of event logger (error should only be raised once)!!!
Describe the bug When increasing TotalAsserts in method AddAssertResult the array limits of AssertResults are not being checked, causing PLC crash due to invalid array index.
Expected behavior Prevent crash by limit checks and sending error through ADSLOGSTR. Remark: Prevent overflow of event logger (error should only be raised once)!!!
Screenshots![image](https://user-images.githubusercontent.com/82865479/173796847-5224802d-ac16-48e4-a9ae-b1f22fa64f2d.png)
Software versions v1.2.0.0
has been mentioned earlier in #153