[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_
From: |
hanhui |
Subject: |
[lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error |
Date: |
Mon, 06 Jun 2011 14:18:30 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3 |
URL:
<http://savannah.nongnu.org/bugs/?33485>
Summary: SOCK_ADDR_TYPE_MATCH and
SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: hanhui03
Submitted on: Mon Jun 6 14:18:30 2011
Category: sockets
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error!
in sockets.c for example:
int
lwip_bind(int s, const struct sockaddr *name, socklen_t namelen)
{
......
if (SOCK_ADDR_TYPE_MATCH(name, sock)) {
.......
}
......
}
should be:
int
lwip_bind(int s, const struct sockaddr *name, socklen_t namelen)
{
......
if (!SOCK_ADDR_TYPE_MATCH(name, sock)) {
.......
}
......
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?33485>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error,
hanhui <=
- Message not available
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Bill Auerbach, 2011/06/06
- Message not available
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Bill Auerbach, 2011/06/06
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Kieran Mansley, 2011/06/07
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Bill Auerbach, 2011/06/07
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Kieran Mansley, 2011/06/07
- [lwip-devel] [bug #33485] SOCK_ADDR_TYPE_MATCH and SOCK_ADDR_TYPE_MATCH_OR_UNSPEC use error, Bill Auerbach, 2011/06/07