diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-18 10:58:37 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-18 10:27:50 +0000 |
commit | 6ba54030d248c2d7d0436e6544784f2591d9986f (patch) | |
tree | fd3f896e83ae315846368a49372094e1f7a1369c | |
parent | 66f27abfa01ee0e252a5a4e0ffbff2e006c4943e (diff) | |
download | wireshark-6ba54030d248c2d7d0436e6544784f2591d9986f.tar.gz |
UMTS FP: fix another out of bounds access
According to NBAP ASN.1, the maximum DCH ID value is 255
Bug: 11606
Change-Id: Ic5c85a31eb1a84d59f25baaed4afbd040a7852c5
Reviewed-on: https://code.wireshark.org/review/11126
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
(cherry picked from commit 67b6d4f7e6f2117b40957fd51518aa2a3e659002)
Reviewed-on: https://code.wireshark.org/review/11128
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 51b8fbeb4d..7d21b838f9 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -3812,7 +3812,7 @@ heur_dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data return TRUE; } static guint8 fakes =5; /*[] ={1,5,8};*/ -static guint8 fake_map[31]; +static guint8 fake_map[256]; /* * TODO: This need to be fixed! |