Skip to content
  • Michael Tuexen's avatar
    Fix several bugs in sctp_bindx(): · 1dd0c905
    Michael Tuexen authored
    * Set errno to EAFNOSUPPORT if an address is provided which is neither
      AF_INET nor AF_INET6.
    * Don't modify the arguments.
    * Don't smash the stack when provided with a non-zero port.
    * Handle the case correctly where the first address provided is
      an IPv6 address.
    
    MFC after: 3 days
    1dd0c905