diff options
author | Toomas Soome <tsoome@me.com> | 2019-12-28 14:24:51 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-03-06 22:24:46 +0200 |
commit | ab82c29b6e890d0f1241f9cd0cefda3430f46bd5 (patch) | |
tree | c92a3cf4e429e07611fa33c047acc0de4eb4fa42 /usr/src/uts/common/inet/sctp/sctp_input.c | |
parent | 7d8deab2c421c563ab11a55e623ed48109e237af (diff) | |
download | illumos-joyent-ab82c29b6e890d0f1241f9cd0cefda3430f46bd5.tar.gz |
12173 ip: variable may be used uninitialized in this function
Reviewed by: Dan McDonald <danmcd@joyent.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/uts/common/inet/sctp/sctp_input.c')
-rw-r--r-- | usr/src/uts/common/inet/sctp/sctp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/sctp/sctp_input.c b/usr/src/uts/common/inet/sctp/sctp_input.c index 1b6449cfab..7d856fab28 100644 --- a/usr/src/uts/common/inet/sctp/sctp_input.c +++ b/usr/src/uts/common/inet/sctp/sctp_input.c @@ -831,7 +831,7 @@ sctp_try_partial_delivery(sctp_t *sctp, mblk_t *hmp, sctp_reass_t *srp, * there is a break in the sequence. We want * to chop the reassembly list as follows (the * numbers are TSNs): - * 10 -> 11 -> (end of chunks) + * 10 -> 11 -> (end of chunks) * 10 -> 11 -> | 13 (break in sequence) */ prev = mp; @@ -943,6 +943,7 @@ sctp_data_frag(sctp_t *sctp, mblk_t *dmp, sctp_data_hdr_t **dc, int *error, uint32_t tsn; uint16_t fraglen = 0; + reassq_curr = NULL; *error = 0; /* |