Project

General

Profile

Actions

Bug #5922

open

rtl_sdr bytes_to_read wraparound for n > 2**31

Added by nikolicj about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/23/2023
Due date:
% Done:

0%

Spec Reference:

Description

In rtl_sdr: bytes_to_read wraps around for larger captures (e.g. when trying to log 1000s of IQ samples at 2.4M samples/s):

rtl_sdr test.iq -f 440000000 -s 2400000 -g 34 -n 2400000000

I attached a patch that fixes it (I lack the permission to open a PR). Tested on a 64bit Ubuntu 22.04 machine.


Files

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)