Hi,
lib/hackrf/hackrf_source_c.cc | 29 +++++++++++++++++------------
1 file changed, 17 insertions(+), 12 deletions(-)
this patch fixes SIGSEG wich happens when buffer from GnuRadio is bigger
than buffers used by HackFR. This is due to 'remaining' will become
bigger than size of input buffer. More than available bytes might be
copied and '_samp_avail' become negative. This soon or latter becomes
SIGSEG.
With best regards,
P
Show replies by date