[bug #55163] ICMPv6 Option - Recursive DNS Server -> fails to set multiple dns addresses correctly

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #55163] ICMPv6 Option - Recursive DNS Server -> fails to set multiple dns addresses correctly

Jasper Verschueren
URL:
  <https://savannah.nongnu.org/bugs/?55163>

                 Summary: ICMPv6 Option - Recursive DNS Server -> fails to set
multiple dns addresses correctly
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: travisbarney
            Submitted on: Tue 04 Dec 2018 11:23:54 PM UTC
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1

    _______________________________________________________

Details:

The ICMPv6 Option Recursive DNS Server fails to set the second dns correctly.
The first DNS address found is the only one that gets set.  This is due to a
failure to increment the copy_offset.

nd6.c -> nd6_input -> case ND6_OPTION_TYPE_RDNSS

The for loop does not increment copy_offset.  The copy_offset should be
incremented by 16.




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55163>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #55163] ICMPv6 Option - Recursive DNS Server -> fails to set multiple dns addresses correctly

Jasper Verschueren
Update of bug #55163 (project lwip):

                  Status:                    None => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Fixed, thanks for reporting.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?55163>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel