Trash address family returned by sctp_getpaddrs

Bug #491699 reported by Sebastien Decugis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lksctp-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: lksctp-tools

Hi,

Running Ubuntu Karmic with
libsctp1 Version: 1.0.10+dfsg-1
Kernel 2.6.31-15-generic

I have a SCTP connected socket, I call :
count = sctp_getpaddrs(sock, 0, &data)

The return is:
count = 8
data = 2e3231007f00000100000000000000000000000000000000000000000a00dc520000000000000000000000000000000000000001000000000200dc5285f392a500000000000000000000000000000001000000000a00dc5200000000fe80000000000000021d09fffe897d68000000000200dc520a000a01fe80000000000000...

The first address is invalid since it shows an address family of 0x2e32. It is then impossible to parse the remaining of the buffer since we don't know the first address size.

This bug did not appear with Ubuntu Intrepid.

Ken Sharp (kennybobs)
tags: added: karmic regression-release
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.