aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-13 21:05:38 -0400
committerEvan Huus <eapache@gmail.com>2014-08-14 02:09:13 +0000
commit44698259b1f5865c60323acaf2a633654a2abe81 (patch)
tree374b400b40bc783b0d0a9d7c5b889c6e7c149b8a
parent4388b5608abbde4953cdf2b00f3711614c3db4db (diff)
Fix the uninitialized-read error reported in bug 10370.
Fix apparent cut-n-pasteo: if offset_e is set then we should be looking at offset_e (instead of offset_s) and ts_end (instead of ts_start). Bug: 10370 Change-Id: I0683ad55ac782c7fd03b7dbdf3f34df713267de5 Reviewed-on: https://code.wireshark.org/review/3589 Reviewed-by: Evan Huus <eapache@gmail.com>
-rw-r--r--epan/dissectors/packet-netflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-netflow.c b/epan/dissectors/packet-netflow.c
index 7ccb060d71..a26b04c0c5 100644
--- a/epan/dissectors/packet-netflow.c
+++ b/epan/dissectors/packet-netflow.c
@@ -5162,7 +5162,7 @@ dissect_v9_v10_pdu_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdutree,
offset_e[i], 4, &ts_end[i]);
} else {
proto_tree_add_time(pdutree, hf_cflow_abstimeend, tvb,
- offset_s[i], 4, &ts_start[i]);
+ offset_e[i], 4, &ts_end[i]);
}
}
}