[Bug 491699] Re: Trash address family returned by sctp_getpaddrs

Ken Sharp 491699 at bugs.launchpad.net
Sat Nov 7 15:54:08 UTC 2015


** Tags added: karmic regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lksctp-tools in Ubuntu.
https://bugs.launchpad.net/bugs/491699

Title:
  Trash address family returned by sctp_getpaddrs

Status in lksctp-tools package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lksctp-tools/+bug/491699/+subscriptions



More information about the foundations-bugs mailing list