Skip to content
Snippets Groups Projects
Commit f92d4c3b authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Fix CID 187199.

parent 34a221bc
No related branches found
No related tags found
No related merge requests found
...@@ -2066,8 +2066,8 @@ sctp_supported_extensions_parameter_new(struct sctp_byte_list *list) ...@@ -2066,8 +2066,8 @@ sctp_supported_extensions_parameter_new(struct sctp_byte_list *list)
parameter->chunk_type[i] = item->byte; parameter->chunk_type[i] = item->byte;
} }
assert((i == list->nr_entries) && (item == NULL)); assert((i == list->nr_entries) && (item == NULL));
memset(parameter->chunk_type + list->nr_entries, 0, padding_length);
} }
memset(parameter->chunk_type + list->nr_entries, 0, padding_length);
return sctp_parameter_list_item_new((struct sctp_parameter *)parameter, return sctp_parameter_list_item_new((struct sctp_parameter *)parameter,
parameter_length, flags); parameter_length, flags);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment