diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-04-21 06:14:11 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-04-21 06:14:11 +0000 |
commit | 82d2d5a1ecc08063561888a3baf5254a439cbff2 (patch) | |
tree | 998db0f002f775bdce05ee5bff566f04152afa71 /epan/show_exception.c | |
parent | a0e54160af7cf1bf71f5a6326dec3621c64ed611 (diff) | |
download | wireshark-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.c | 2 |
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) { |