Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30403
b: refs/heads/master
c: 6b384de
h: refs/heads/master
i:
  30401: 721d930
  30399: 1779126
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Jun 26, 2006
1 parent f6f1644 commit 52e5a32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9024f0f79c3f847a793d6a16bf4fefc6d7a4649
refs/heads/master: 6b384de853c9f05e5e6da6c95edb475b96dd2cc1
2 changes: 1 addition & 1 deletion trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ static int connect(struct socket *sock, struct sockaddr *dest, int destlen,
if (sock->state != SS_UNCONNECTED)
return -EISCONN;

if ((dst->family != AF_TIPC) ||
if ((destlen < sizeof(*dst)) || (dst->family != AF_TIPC) ||
((dst->addrtype != TIPC_ADDR_NAME) && (dst->addrtype != TIPC_ADDR_ID)))
return -EINVAL;

Expand Down

0 comments on commit 52e5a32

Please sign in to comment.