buglwIP - A Lightweight TCP/IP stack - Bugs: bug #50411, ip6addr_aton() fails on IPv4...


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

bug #50411: ip6addr_aton() fails on IPv4 mapped addresses

Submitted by:  Joel Cunningham <jcunningham>
Submitted on:  Mon 27 Feb 2017 03:02:54 PM UTC  
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenPlanned Release: None
lwIP version: git head

Mon 27 Feb 2017 07:43:04 PM UTC, comment #1:

Implementation hint: the dotted representation is only allowed for the last 32 bits.

Simon Goldschmidt <goldsimon>
Project Administrator
Mon 27 Feb 2017 03:02:54 PM UTC, original submission:

I was testing out some of the socket examples with an IPv4 mapped IPv6 address and found that ip6addr_aton() fails when encountering the dotted quads section of the IPv4 mapped address


socket_examples_init() calls ip6addr_aton() which hits the "unexpected digit" case when the first dot is encountered:

Joel Cunningham <jcunningham>
Project Member


No files currently attached


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 jcunningham (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):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1