You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the device argument to modbus_new_rtu is NULL, modbus_free is called on the context (src/modbus-rtu.c:1158).
Due to ctx->backend_data->device not having been malloc'd (this currently happens after the NULL device check), the free on line 1115 (src/modbus-rtu.c:1115) causes a segmentation fault.
The text was updated successfully, but these errors were encountered:
If the device argument to modbus_new_rtu is NULL, modbus_free is called on the context (src/modbus-rtu.c:1158).
Due to ctx->backend_data->device not having been malloc'd (this currently happens after the NULL device check), the free on line 1115 (src/modbus-rtu.c:1115) causes a segmentation fault.
The text was updated successfully, but these errors were encountered: