buglwIP - A Lightweight TCP/IP stack - Bugs: bug #47897, ipv6_addr: Render last zero in...

 
 

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

bug #47897: ipv6_addr: Render last zero in ip6addr_ntoa_r if not in first zero block

Submitted by:  Jan Breuer <jan_breuer>
Submitted on:  Wed 11 May 2016 04:22:46 PM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Mon 23 May 2016 07:55:21 AM UTC, comment #1:

Fixed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 11 May 2016 04:22:46 PM UTC, original submission:

In original ip6addr_ntoa_r implementation, rendering of address "2001::1:0" results in "2001::1:".

Result has missing last zero and is also invalid IPv6 address format.

This faulty behaviour can happen for all IPv6 addresses already containing zero block "::" and also has last value as zero.

Attached patch is solving this issue.

Jan Breuer <jan_breuer>

 

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by jan_breuer (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 23 May 2016 07:55:21 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Wed 11 May 2016 04:22:46 PM UTCjan_breuerAttached File-=>Added 0001-ipv6_addr-Render-last-zero-in-ip6addr_ntoa_r-if-not-.patch, #37130

    Back to the top


    Powered by Savane 3.1-cleanup1