Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V1.0.0.0, V1.0.1.0, V1.0.2.0, V1.0.3.0, V1.0.4.0, V1.1.0.0, V1.1.1.0, V1.1.2.0, V1.1.3.0, V1.1.4.0, V1.1.5.0, V1.2.0.0, V1.2.0.1, V1.3.0.0, V1.4.0.0, V1.5.0.0, V1.6.0.0, V2.0.1.0, V2.1.0.0
-
Fix Version/s: V2.2.0.0
-
Component/s: cifX/netX Toolkit
-
Labels:None
-
Sprint:SDO Sprint 3
-
Account:SDO Driver (SDODRIVER)
Description
If no files exist on the device (not even "." and ".."), on a DIR_LIST request, xSysdeviceFindFirstFile() will not check for the RCX_PACKET_SEQ_LAST mask and it will not check for a packet length of 0. This will result in an answered packet with a random string in szName.
xSysdeviceFindFirstFile() should behave like xSysdeviceFindNextFile() and check ulExt for RCX_PACKET_SEQ_LAST or for check if ulLen = 0.
Seen on netX90 where DIR_LIST uses raw flash areas for files.
This is also visible on on NXHX90 with a running MFW and no installed firmware.
Attachments
Issue Links
- relates to
-
NXTTKIT-48 xSysdeviceFindFirstFile() does not check for last packet or packet length=0
- Closed