URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1c9adc63c2c2892a3f069777dfb8c66f79b9ba38
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
1c9adc6 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
NBAP: avoid linking a DCH-ID to itself
Otherwise it can create an infinite loop, leading to a buffer overflow.
Also add explicit cheks on the buffer usage and set its maximum size to
128 instead of 32 per ASN.1 description.
Bug: 14471
Change-Id: I18d26369cf3d1cf2a32c86a972c78ea9f6f7a503
Reviewed-on: https://code.wireshark.org/review/26264
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from b87aa03 IEEE 802.15.4: always allocate protocol data if not present
adds 1c9adc6 NBAP: avoid linking a DCH-ID to itself
Summary of changes:
epan/dissectors/asn1/nbap/nbap.cnf | 8 ++++----
epan/dissectors/packet-nbap.c | 8 ++++----
epan/dissectors/packet-umts_fp.h | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)