aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-02-11 16:07:18 +0100
committerHarald Welte <laforge@osmocom.org>2021-02-11 16:07:46 +0100
commit855155c6ae9d4452b4cddc6ac711c2946d7b5377 (patch)
treee4781129ac6f096492e520fcacee4a48a0f22eb4 /src/gb/gprs_ns2.c
parentce6e4b79b81a619005a2609569f4f313b3c2704a (diff)
ns2_fr: Fix heap-use-after-free in error recovery path
<0026> gprs_ns2_fr.c:515 BIND(hdlcnet1) Can not create AF_PACKET socket. Are you root or have CAP_NET_RAW? ================================================================= ==3872359==ERROR: AddressSanitizer: heap-use-after-free on address 0x6130000030c0 at pc 0x7fef120aa92e bp 0x7ffebf6b5c20 sp 0x7ffebf6b5c18 READ of size 8 at 0x6130000030c0 thread T0 #0 0x7fef120aa92d in osmo_fr_link_free (/usr/local/lib/libosmogb.so.11+0x16992d) #1 0x7fef1205105a in free_bind (/usr/local/lib/libosmogb.so.11+0x11005a) Change-Id: I23c0f1697edd5734085fa18b0a2f253c0f206c53
Diffstat (limited to 'src/gb/gprs_ns2.c')
0 files changed, 0 insertions, 0 deletions