summaryrefslogtreecommitdiff
path: root/epan/show_exception.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-04-21 06:14:11 +0000
committerGuy Harris <guy@alum.mit.edu>2013-04-21 06:14:11 +0000
commit82d2d5a1ecc08063561888a3baf5254a439cbff2 (patch)
tree998db0f002f775bdce05ee5bff566f04152afa71 /epan/show_exception.c
parenta0e54160af7cf1bf71f5a6326dec3621c64ed611 (diff)
downloadwireshark-82d2d5a1ecc08063561888a3baf5254a439cbff2.tar.gz
If pinfo->fragmented is set, map ReportedBoundsError to
FragmentBoundsError. svn path=/trunk/; revision=48946
Diffstat (limited to 'epan/show_exception.c')
-rw-r--r--epan/show_exception.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/show_exception.c b/epan/show_exception.c
index 54d56fca7e..29ef73f4ab 100644
--- a/epan/show_exception.c
+++ b/epan/show_exception.c
@@ -60,6 +60,8 @@ show_exception(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"Dissector writer didn't bother saying what the error was";
proto_item *item;
+ if (exception == ReportedBoundsError && pinfo->fragmented)
+ exception = FragmentBoundsError;
switch (exception) {