forked from osmocom/wireshark
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>
This commit is contained in:
parent
14d94e174a
commit
68f295d605
1
tshark.c
1
tshark.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue