segfault with IPv6 connections

Bug #1435104 reported by David Leonard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacacs+ (Ubuntu)
New
Undecided
Unassigned

Bug Description

When an IPv6 client attaches, the server segfaults.

Process 12011 attached
restart_syscall(<... resuming interrupted call ...>) = 1
accept(2, {sa_family=AF_INET6, sin6_port=htons(56654), inet_pton(AF_INET6, "fd01:900d:f00d:cafe:4bf:1ef2:ff7f:0", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 3
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++

Built tacacs+_4.0.4.27a-1 package from source on 14.04.2 x86_64.

Traced to incorrect paraneters being passed to inet_ntop; patch attached.

Tags: patch
Revision history for this message
David Leonard (d+) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ip6.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
David Leonard (d+) wrote :

patch submitted upstream

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.