Wireshark-commits: [Wireshark-commits] lts-1.12.1 d223fd6: gsm_abis_oml: fix buffer overrun
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d223fd6de0520a051a9f8b50fc975fe96e9ba4b2
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark
Commits:
d223fd6 by Peter Wu (peter@xxxxxxxxxxxxx):
gsm_abis_oml: fix buffer overrun
Do not read outside boundaries when tag is exactly 0xff.
tag = tvb_get_guint8(tvb, offset);
tdef = find_tlv_tag(tag);
...
return &nm_att_tlvdef_base.def[tag];
Bug: 11825
Change-Id: I42e624185abb2166aa0f8d0dbd71a2a86fc0b18e
Reviewed-on: https://code.wireshark.org/review/14030
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
(cherry picked from commit c31425f9ae15067e26ccc6183c206c34713cb256)
Reviewed-on: https://code.wireshark.org/review/14344
Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
Actions performed:
from 6dbf7cc llrp: limit recursion depth
adds d223fd6 gsm_abis_oml: fix buffer overrun
Summary of changes:
epan/dissectors/packet-gsm_abis_oml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)