lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9098] tcp: Prevents a 0 sized (invalid) backlog


From: Axel Lin
Subject: [lwip-devel] [patch #9098] tcp: Prevents a 0 sized (invalid) backlog
Date: Wed, 24 Aug 2016 08:53:00 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?9098>

                 Summary: tcp: Prevents a 0 sized (invalid) backlog
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Wed 24 Aug 2016 08:52:58 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

commit 44e1a2d8e23f accidently includes below changes in
tcp_listen_with_backlog
 -  tcp_backlog_set(lpcb, backlog);
 +  lpcb->backlog = backlog;

Thus pass 0 to the backlog parameter of netconn_listen_with_backlog() fails.

Fixes: 44e1a2d8e23f ("define tcp_backlog_set() as dummy-define when backlog
feature is disable")




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 24 Aug 2016 08:52:58 AM GMT  Name:
0001-tcp-Prevents-a-0-sized-invalid-backlog.patch  Size: 1kB   By: axellin

<http://savannah.nongnu.org/patch/download.php?file_id=38337>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9098>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]