srsLTE/srsue/hdr
Andre Puschmann c7343cf6d8 protect sf_buffer from overrun in receive_samples
this patch adds a buffer len paramter to the receive_samples() call
that protects the (also) provided buffer from overflowing.

currently each call to srslte_ue_sync_zerocopy() which then calls receive_samples()
relies on a buffer that is "big enough". But that buffer is sometimes
2 subframes, sometimes 3 or 5, sometimes has space for the maximum PRB size, sometimes
only for 6 PRBs (i.e. during cell search).

By extending the interface to pass the buffer size we can make sure that
only samples are received that actually fit inside the provided buffer.
2020-02-07 10:21:30 +01:00
..
phy protect sf_buffer from overrun in receive_samples 2020-02-07 10:21:30 +01:00
stack add support for IMEISV when requesting UE idendity 2020-02-07 10:19:42 +01:00
metrics_csv.h use const& in metrics interface 2020-01-14 20:52:09 +01:00
metrics_stdout.h use const& in metrics interface 2020-01-14 20:52:09 +01:00
ue.h Clang format UE, eNB and lib (#850) 2019-12-16 16:04:22 +01:00
ue_metrics_interface.h Clang format UE, eNB and lib (#850) 2019-12-16 16:04:22 +01:00