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

Submitted by:  Enrico Lehmann <elehmann>
Submitted on:  Thu 03 May 2012 08:57:43 PM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Ivan Delamer <idelamer>
Open/Closed: ClosedPlanned 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>
Project MemberIn charge of this item.
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>

 

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
  • -unavailable- added by idelamer (Posted a comment)
  • -unavailable- added by elehmann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 May 2012 06:58:02 PM UTCidelamerOpen/ClosedOpen=>Closed
    Fri 04 May 2012 11:34:20 PM UTCidelamerStatusNone=>Fixed
      Assigned toNone=>idelamer
    Thu 03 May 2012 08:57:43 PM UTCelehmannAttached File-=>Added inet6.patch, #25776

    Back to the top


    Powered by Savane 3.1-cleanup1