diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-07-21 00:16:35 +0200 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-07-23 19:41:33 +0000 |
commit | 68f295d6052d49200f9ad3e06909b1157e7a82be (patch) | |
tree | 7038ff244adb7f62c25a8cee1347d92f25bb6ba9 /tshark.c | |
parent | 14d94e174a230e66d7d75c774435d77f3d8aa22e (diff) |
tshark: assert edt before calling print_packet (CID 1405107).
Change-Id: Iacde5514dc355cbb06fe45f5e342ddd45700999d
Reviewed-on: https://code.wireshark.org/review/22749
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3521,6 +3521,7 @@ process_packet_single_pass(capture_file *cf, epan_dissect_t *edt, gint64 offset, if (print_packet_info) { /* We're printing packet information; print the information for this packet. */ + g_assert(edt); print_packet(cf, edt); /* If we're doing "line-buffering", flush the standard output |