[PATCH] hackrf: fix buffer underflow
28 Oct
2016
28 Oct
'16
7:46 p.m.
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
3669
Age (days ago)
3669
Last active (days ago)
0 comments
1 participants
participants (1)
-
P