buglwIP - A Lightweight TCP/IP stack - Bugs: bug #36391, Faulty inet6_addr_to_ip6addr()...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36391: Faulty inet6_addr_to_ip6addr() macro

Submitter:  Enrico Lehmann <elehmann>
Submitted:  Thu 03 May 2012 08:57:43 PM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  idelamer
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Fri 04 May 2012 11:34:20 PM UTC, comment #1: 

Good catch, thanks for reporting.

Fixed by commit 3dcd33b08f52eb794e31bd5b3f497db67567a5dc

Ivan Delamer <idelamer>
Group Member
Thu 03 May 2012 08:57:43 PM UTC, original submission:  

The inet6_addr_to_ip6addr() macro in inet6.h should copy a IPv6 address to another IPv6 address. But what it is currently doing is just copy the first 4Bytes four times, not all 16Bytes - which certainly is the intention.

The attached patch will correct it.

I'm using the GIT master branch.

Enrico Lehmann <elehmann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #25776:  inet6.patch added by elehmann (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by idelamer (Posted a comment)
  • -email is unavailable- added by elehmann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-05-14 idelamer Open/ClosedOpen Closed
    2012-05-04 idelamer StatusNone Fixed
        Assigned toNone idelamer
    2012-05-03 elehmann Attached File- Added inet6.patch, #25776

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code