Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #4515

Closed (moved)
(moved)
Open
Created Nov 18, 2011 by Trac@tracbot

tor_inet_pton(...) ipv6 addr. parsing inconsistencies

Currently:

  • "0x10::" is a valid addr according to tor_inet_pton but not according to inet_pton.
  • ":" is a seg fault waiting to happen. (src[1] <- out of bound)
  • "000010::" is an invalid addr according to tor_inet_pton but not according to inet_pton.

I suggest changing tor_inet_pton to make it consistent with inet_pton (as the doc states it should be).

I'll update the ticket with a patch in a moment.

Trac:
Username: 4ZM

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking