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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Network Development Kit
    • NDK-287
    • 2.00.00
    • NDK_3_76_00

      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.

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

              Created:
              Updated:
              Resolved: