laforge
/
openbts-osmo
Archived
1
0
Fork 0
Ancient, early, incomplete attempt of integrating OpenBTS into the osmocom universe. Later replaced by the superior approach of osmo-trx + osmo-bts-trx.
This repository has been archived on 2022-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Thomas Tsou fa05e2e7c4 transceiver, resamp: enlarge transmit resampler output buffer
It was possible to reach a state where a resampled burst would
overrun the transmit output buffer and corrupt the global
allocated signal vectors. The result was a segmentation fault
when attempting to access heap allocated signal vectors since
the pointers were garbage.

Whether the segfault occured or not appears to depend on the
memory location of the signal vector pointers, since it does
not occur on all systems.

Double buffer size to accomodate an incoming burst plus up to
a full chunk that may be remaining from the previous resampling
operation.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-11-10 19:32:55 -05:00
public-trunk transceiver, resamp: enlarge transmit resampler output buffer 2011-11-10 19:32:55 -05:00