Fix a bug found by dim@:
Don't use an uninitilized variable, if INVARIANTS is on and an illegal packet with destination 0 is received. MFC after: 3 days X-MFC with: 238003
This commit is contained in:
parent
32fe943c32
commit
55b175e747
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239091
@ -5600,7 +5600,7 @@ sctp_common_input_processing(struct mbuf **mm, int iphlen, int offset, int lengt
|
||||
struct mbuf *m = *mm;
|
||||
int un_sent;
|
||||
int cnt_ctrl_ready = 0;
|
||||
struct sctp_inpcb *inp, *inp_decr = NULL;
|
||||
struct sctp_inpcb *inp = NULL, *inp_decr = NULL;
|
||||
struct sctp_tcb *stcb = NULL;
|
||||
struct sctp_nets *net = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user