buglwIP - A Lightweight TCP/IP stack - Bugs: bug #38404, getpeeraddr returns success on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #38404: getpeeraddr returns success on unconnected/listening TCP sockets

Submitted by:  Thomas Taranowski <taranowski>
Submitted on:  Mon 25 Feb 2013 03:40:53 AM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: 1.4.0

Thu 27 Feb 2014 08:29:13 PM UTC, comment #1:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 25 Feb 2013 03:40:53 AM UTC, original submission:

getpeeraddr returns success on TCP sockets that have no peer ( are unconnected or in the listening state ). The correct response is to return ENOTCONN.

The patch: getpeeraddr_return_error_on_unconnected_socket.patch, is provided to show the proposed fix.

Thomas Taranowski <taranowski>
Project Member

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by taranowski (Submitted the item)
  • -unavailable- added by taranowski
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 27 Feb 2014 08:29:13 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Mon 25 Feb 2013 03:47:03 AM UTCtaranowskiCategoryNone=>sockets/netconn
      Item GroupNone=>Faulty Behaviour
    Mon 25 Feb 2013 03:40:53 AM UTCtaranowskiAttached File-=>Added getpeeraddr_return_error_on_unconnected_socket.patch, #27520
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1