aboutsummaryrefslogtreecommitdiffstats
path: root/src/gbproxy/gb_proxy_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-03 15:36:59 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-05 11:44:39 +0100
commit6c4c6f08ae13d89b375584988ed1f0556417a7cf (patch)
tree51fb5104d40ea410272d5715c95820b9f8b82949 /src/gbproxy/gb_proxy_vty.c
parentfb7f8c5f0771ad65b57cfce4357805be8c673ae7 (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