diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2017-05-03 00:19:03 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2017-05-03 09:50:27 +0000 |
commit | 62adcd6d17f8f2e620045011a816dbbbbb288e85 (patch) | |
tree | 0fdc3d2fee6e90e310249c662a0eee55868de746 /epan/dissectors/packet-ssl-utils.c | |
parent | 37d0e1b0b7fdfa26efaf5811cb56129e9f72f26e (diff) | |
download | wireshark-62adcd6d17f8f2e620045011a816dbbbbb288e85.tar.gz |
USB: prevent array bounds overflow from invalid Darwin transfer type
During 'Darwin' transfer type conversion the network data is taken
as-is, without checking validity. This results in indexing errors.
Add validation before using as array index.
Bug: 13676
Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1307
Change-Id: I24ca49bb21ba36a8d6a3c078ac2c05ded7b8d382
Reviewed-on: https://code.wireshark.org/review/21470
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
0 files changed, 0 insertions, 0 deletions