- fixed potential null pointer dereferentiation in

IedConnection_getDeviceModelFromServer when no error argument given
v1.6_develop_417_rbac2
Michael Zillgith 2 years ago
parent fd4fe9ad35
commit eab2e6f2cb

@ -1757,7 +1757,7 @@ IedConnection_getDeviceModelFromServer(IedConnection self, IedClientError* error
LinkedList_destroy(logicalDeviceNames);
}
else
*error = iedConnection_mapMmsErrorToIedError(mmsError);
if (error) *error = iedConnection_mapMmsErrorToIedError(mmsError);
}
LinkedList /*<char*>*/

Loading…
Cancel
Save