[Bug 491699] [NEW] Trash address family returned by sctp_getpaddrs
Sebastien Decugis
sdecugis at nict.go.jp
Thu Dec 3 02:27:16 UTC 2009
Public bug reported:
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.
** Affects: lksctp-tools (Ubuntu)
Importance: Undecided
Status: New
--
Trash address family returned by sctp_getpaddrs
https://bugs.launchpad.net/bugs/491699
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list