-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An attempt to fix usrsctp library build from git
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
|
||
diff --git a/usrsctplib/netinet/sctp_output.c b/usrsctplib/netinet/sctp_output.c | ||
index b8a7b46..6f9c9b9 100644 | ||
--- a/usrsctplib/netinet/sctp_output.c | ||
+++ b/usrsctplib/netinet/sctp_output.c | ||
@@ -13562,10 +13562,10 @@ sctp_lower_sosend(struct socket *so, | ||
#endif | ||
struct timeval now; | ||
struct sctp_block_entry be; | ||
- struct sctp_inpcb *inp; | ||
+ struct sctp_inpcb *inp = NULL; | ||
struct sctp_tcb *stcb = NULL; | ||
struct sctp_nets *net; | ||
- struct sctp_association *asoc; | ||
+ struct sctp_association *asoc = NULL; | ||
struct sctp_inpcb *t_inp; | ||
struct sctp_nonpad_sndrcvinfo *sndrcvninfo; | ||
ssize_t sndlen = 0, max_len, local_add_more; |