Uploaded image for project: 'netX Transport Toolkit'
  1. netX Transport Toolkit
  2. NXTTKIT-48

xSysdeviceFindFirstFile() does not check for last packet or packet length=0

    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.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

      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

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    AMinor Alexander Minor
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: