commit | 173a182d031db9097651cde16d81293c566392c2 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Thu Dec 03 15:36:59 2020 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Sat Dec 05 11:44:39 2020 +0100 |
tree | 9e9978c535b6b6c735dd8d2404da017c34185d37 | |
parent | f9e149b058560a23ca3a9da04c9ebb7e75bfab9c [diff] |
gb_proxy: Use TLVP_PRES_LEN instead of TLVP_PRESENT With TLVP_PRESENT we only check if a tiven TLV/IE is present, but don't verify that it's length matches our expectation. This can lead to out-of-bounds reads, so let's always use TLVP_PRES_LEN. Change-Id: I1519cff0f6b2fe77f9a91eee17e0055d9df1bce6