URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55b5b7caf3ec4856838b0416d5a91d3a3ff67ec8
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
55b5b7c by Peter Wu (peter@xxxxxxxxxxxxx):
ber: fix buffer overrun when handling empty sets
When a set is empty, only a terminator (ber_sequence_t with NULL func)
is present. In that case, do not try to find more values as that will
never succeed.
Bug: 12106
Change-Id: I26cd4ba84a9580e92d5921592a27c2af17c0bebf
Reviewed-on: https://code.wireshark.org/review/14028
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from c31425f gsm_abis_oml: fix buffer overrun
adds 55b5b7c ber: fix buffer overrun when handling empty sets
Summary of changes:
epan/dissectors/packet-ber.c | 4 ++++
1 file changed, 4 insertions(+)