Skip to content

Check if the control tables were initialized before copying them

Gabriel Fedel requested to merge ICSHWI-11297 into master

This check is needed to avoid the cases where the IOC started with some issue on the hardware and the control tables weren't started corrected. On these cases the arrays are not created and when the setITable and setQTable are called the memcpy can generate a segmentation fault.

This issue can cause that the IOC keeps restarting when there is an issue on the hardware.

Merge request reports