Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V1.0.4.0, V1.0.5.0, V1.1.0.0
-
Fix Version/s: V1.2.0.0
-
Component/s: Toolkit Source
-
Labels:None
-
Account:SDO Transport, Diagnostic (SDOTRANSPO)
Description
A bug introduced in NXTTKIT-39 passed the wrong channel-ID to the function ReadChannelFirmware(). This resulted later on in an access to uninitialized (already freed) memory and a subsequent crash.
Instead of passing RCXPACKET_SYSTEMCHANNEL_INTERNAL(0) the value HIL_SYSTEM_CHANNEL(0xffffffff) should be passed to ReadChannelFirmware().
Furthermore, OS_Memset() is executed on allocated memory without checking first if the allocation was successful.