aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-01-12 18:07:18 +0100
committerHarald Welte <laforge@osmocom.org>2021-01-12 21:11:20 +0100
commitefdd641c295189d99f16c6c37a207fc54027f30f (patch)
tree9d365b827b00737d812b34648db6a6ed1c761080 /README.md
parentca33a71ca8eeaee98b1b53d5394b147a4ff0b429 (diff)
tlv_parser: Fix various out-of-bounds accesses
The libosmocore TLV parser had a number of insufficient bounds checks leading to reads beyond the end of the respective input buffer. This patch * adds proper out-of-bounds checks to all TLV types * simplifies some of the existing checks * introduces test cases to test all the corner cases where either TAG, or length, or value are not fully contained in the input buffer. Thanks to Ilja Van Sprundel for reporting these problems. Change-Id: I98b02c914c9e3ecf56050af846292aa6979d7508
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions