forked from osmocom/wireshark
If WIRESHARK_ABORT_ON_DISSECTOR_BUG is set, abort() out if we happened to
catch a DissectorError exception. (I found this useful when debugging a "More than 1000000 items in the tree" DissectorError.) svn path=/trunk/; revision=40772
This commit is contained in:
parent
f091005d3e
commit
0a8b301218
|
@ -496,6 +496,9 @@ show_exception(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
||||||
"%s",
|
"%s",
|
||||||
exception_message == NULL ?
|
exception_message == NULL ?
|
||||||
dissector_error_nomsg : exception_message);
|
dissector_error_nomsg : exception_message);
|
||||||
|
|
||||||
|
if (getenv("WIRESHARK_ABORT_ON_DISSECTOR_BUG") != NULL)
|
||||||
|
abort();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue