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

Arguments have to be always checked in the API functions.

    Details

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

      Description

      The user can provide anything to the LWIP API as argument. There should be checked, particularly argument used as pointer inside the functions.

      Exemple in Lwip_PBuf.c:
      size_t
      LwIP_Buf_GetTotalLength(LWIP_PBUF_H hPBuf)
      {
      return hPBuf->tot_len;
      }
      Furthermore, the hPBuf argument is verified in other functions of this module. The behavior has to be consistent.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  ATilatti ATilatti (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: