osmo-tetra/src
wbokslag 615146270f More robust bounds checking on llc pdu parsing
We now have a list containing the lengths of the different llc pdu type minimum lengths
Before parsing the pdu, we validate the l2len is indeed sufficient to contain the pdu
This prevents out-of-bounds reads for corrupted packets.

Change-Id: I118ba2227a22afd295fffaa51aab3e45e85ff3d7
2022-09-22 11:46:35 +02:00
..
demod Fix typos 2019-07-17 22:50:49 +02:00
lower_mac Support parsing of multiple mac resources in the same timeslot 2022-09-22 11:46:35 +02:00
phy keep track of which block of a downlink burst is being processed 2022-08-02 13:22:30 +02:00
.gitignore add script for testing performance and number of correctly decoded frames 2018-07-30 21:38:07 +02:00
Makefile added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
conv_enc_test.c keep track of which block of a downlink burst is being processed 2022-08-02 13:22:30 +02:00
crc_test.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
float_to_bits.c only compute filter when opt_afc is enabled 2022-09-22 11:46:35 +02:00
receiver1 Add simdemod2.py, a simple demodulator without GUI 2016-12-18 15:37:33 +01:00
receiver2 Add simdemod2.py, a simple demodulator without GUI 2016-12-18 15:37:33 +01:00
testpdu.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
testpdu.h initial import of Osmocom TETRA phy and lower MAC code 2011-01-19 10:39:59 +01:00
tetra-rx-tests.sh add script for testing performance and number of correctly decoded frames 2018-07-30 21:38:07 +02:00
tetra-rx.c add traffic dumping patch, use getopt to parse arguments 2018-09-28 23:27:20 +00:00
tetra_cmce_pdu.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_cmce_pdu.h add decode of CMCE PDU type 2011-04-23 17:08:03 +02:00
tetra_common.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_common.h Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_gsmtap.c Support parsing of multiple mac resources in the same timeslot 2022-09-22 11:46:35 +02:00
tetra_gsmtap.h add traffic dumping patch, use getopt to parse arguments 2018-09-28 23:27:20 +00:00
tetra_llc.c added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
tetra_llc.h added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
tetra_llc_pdu.c More robust bounds checking on llc pdu parsing 2022-09-22 11:46:35 +02:00
tetra_llc_pdu.h added support for fill bits and basic link defragmentation (also thanks to SQ5BPF) 2022-09-22 11:46:29 +02:00
tetra_mac_pdu.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_mac_pdu.h added support for fill bits and basic link defragmentation (also thanks to SQ5BPF) 2022-09-22 11:46:29 +02:00
tetra_mle.c added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
tetra_mle.h added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
tetra_mle_pdu.c upper mac: print MLE PDU type 2011-04-24 09:24:13 +02:00
tetra_mle_pdu.h upper mac: print MLE PDU type 2011-04-24 09:24:13 +02:00
tetra_mm_pdu.c Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_mm_pdu.h Reformatting to prevent linter warnings 2022-09-22 11:46:35 +02:00
tetra_prim.h keep track of which block of a downlink burst is being processed 2022-08-02 13:22:30 +02:00
tetra_sndcp_pdu.c SNDCP: use downlink definitions, not uplink 2011-04-24 09:00:41 +02:00
tetra_sndcp_pdu.h SNDCP: use downlink definitions, not uplink 2011-04-24 09:00:41 +02:00
tetra_tdma.c normalize_fn(): Fix computation of frame numbers 2016-11-27 17:50:08 +01:00
tetra_tdma.h added basic hyperframe support for output 2015-08-21 01:46:40 +02:00
tetra_upper_mac.c added support for advanced link defragmentation 2022-09-22 11:46:35 +02:00
tetra_upper_mac.h added support for fill bits and basic link defragmentation (also thanks to SQ5BPF) 2022-09-22 11:46:29 +02:00
tunctl.c modify tunctl to allow cration of TUN (ip) devices, not just TAP (ethernet) 2011-04-25 18:47:29 +02:00
tuntap.c ensure zero termination of tun device name 2022-07-11 14:22:27 +02:00
tuntap.h Created tuntap.h to allow for proper use of tun_alloc in tetra_llc.c 2022-07-11 14:26:51 +02:00