diff options
author | Harald Welte <laforge@osmocom.org> | 2020-12-03 15:36:59 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-12-05 11:44:39 +0100 |
commit | 6c4c6f08ae13d89b375584988ed1f0556417a7cf (patch) | |
tree | 51fb5104d40ea410272d5715c95820b9f8b82949 /src/gbproxy/gb_proxy_vty.c | |
parent | fb7f8c5f0771ad65b57cfce4357805be8c673ae7 (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
Diffstat (limited to 'src/gbproxy/gb_proxy_vty.c')
0 files changed, 0 insertions, 0 deletions