Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9819

IPv6 initialization function should fail for an invalid MTU

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed
    • Priority: Medium
    • Resolution: Fixed
    • Product:
      Network Development Kit
    • Internal ID:
      NDK-287
    • Found In Release:
      2.00.00
    • Fix In Release:
      NDK_3_76_00

      Description

      The IPv6InterfaceInit() function contains a check for an invalid MTU. However, the function returns 0 (success) even if the invalid MTU is found (ipv6.c line ~851):

          if (ptr_device->mtu < MIN_IPV6_MTU)
              return 0;

      This code should be returning a failure (-1), as the IPv6 initialization, object creations, etc. have not happened yet.

        Attachments

          Activity

            People

            Assignee:
            syncuser TI User
            Reporter:
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: