aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-02-15 16:59:20 +0000
committerEvan Huus <eapache@gmail.com>2013-02-15 16:59:20 +0000
commit235a1eb09d05a5d9aac21042516110895db80200 (patch)
tree191b54914e2589267df79195f84efdd89ea8984c /epan/dissectors/packet-bacapp.c
parentf5d559e87906fa7c6a9af1ab7099772da81f2ca0 (diff)
From Lori Tribble via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8331
Fix UCS-2 string decoding for strings longer than 127 characters. svn path=/trunk/; revision=47675
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 304b647e40..34d94e22d8 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -6086,7 +6086,7 @@ fCharacterString (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off
lvt -= (extra);
do {
- inbytesleft = l = MIN(lvt, 255);
+ inbytesleft = l = MIN(lvt, 256);
/*
* XXX - are we guaranteed that these encoding
* names correspond, on *all* platforms with