http: Initialize a variable
Initialize len if it's going to be used in the return.
In certain cases we don't enter the loop and call
dissectr_http_message at all.
Fixup 76879a480a
Fix #19739
This commit is contained in:
parent
cc4f989805
commit
07f68d0d15
|
@ -3943,7 +3943,7 @@ dissect_http_on_stream(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
http_conv_t *conv_data, gboolean end_of_stream, const guint32 *seq)
|
||||
{
|
||||
int offset = 0;
|
||||
int len;
|
||||
int len = 0;
|
||||
|
||||
while (tvb_reported_length_remaining(tvb, offset) > 0) {
|
||||
/* Switch protocol if the data starts after response headers. */
|
||||
|
|
Loading…
Reference in New Issue