Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-188

NetIdent shows a garbage string for the device class (0x38) one beyond the last supported device class.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0.0.0
    • Fix Version/s: V4.0.0.5, V4.0.2.0, V4.1.0.0
    • Labels:
      None
    • Sprint:
      PI Sprint 2017 KW 22-23
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      NetIdent shows a garbage string instead of "Undefined" for device class = 0x38 (one beyond the end of the array).


      In Lwip_NetIdent_Functions.c line 127 (rev. 66035):

          if ( usDeviceClass <= MAX_CNT(s_aszLwip_NetIdent_HwNames) )

        {

          pszHwName = s_aszLwip_NetIdent_HwNames[usDeviceClass];

        }

      the proper comparison should be just “<” (less than).

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  Alexander.Ivanov Alexander Ivanov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: