aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tshark.pod
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-06-05 14:08:40 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-06-05 14:08:40 +0000
commit470bd4455a17a3d4e3ad1694fd64376720a768a9 (patch)
treed093826bf18419000b746b4e6381c2ba1993b709 /doc/tshark.pod
parent2a3013fbe11d825a814b665f962689525e26db4b (diff)
Add a new environment variable to cause abort()s if we add too many items
to the tree (to separate this case from the generic DISSECTOR_BUG case). Enable this environment variable when fuzz testing. Enable the 3rd (without tree but with a read filter) check (added in r49643) when testing capture files but not when fuzz testing--not sure if we want to add even more to the fuzzbot's work load now (OTOH I've been running it for a while and it hasn't buried me in bugs). svn path=/trunk/; revision=49784
Diffstat (limited to 'doc/tshark.pod')
-rw-r--r--doc/tshark.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod
index 44d488a4ae..3e7b0d15cd 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -1642,6 +1642,18 @@ your environment is configured correctly, generate a core dump file.
This can be useful to developers attempting to troubleshoot a problem
with a protocol dissector.
+=item WIRESHARK_ABORT_ON_TOO_MANY_ITEMS
+
+If this environment variable is set, B<TShark> will call abort(3)
+if a dissector tries to add too many items to a tree (generally this
+is an indication of the dissector not breaking out of a loop soon enough).
+abort(3) will cause the program to exit abnormally; if you are running
+B<TShark> in a debugger, it should halt in the debugger and allow
+inspection of the process, and, if you are not running it in a debugger,
+it will, on some OSes, assuming your environment is configured correctly,
+generate a core dump file. This can be useful to developers attempting to
+troubleshoot a problem with a protocol dissector.
+
=item WIRESHARK_EP_VERIFY_POINTERS
This environment variable, if present, causes certain uses of pointers to be