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

NULL pointer access in acd_disable() if order of calls with acd_enable() is not well-formed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.1.0.3
    • Fix Version/s: V4.1.0.4, V4.1.1.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      If LwIP_ACD_Create() is called, followed by LwIP_ACD_Disable(), the IP stack writes to a NULL pointer in acd_disable():

      netif->acd->defendActive = 0;

      Since netif->acd was never set to a valid address.
      Add a NULL pointer test before accessing the member.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MBommert Marc Bommert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: