1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
Commit Graph

44 Commits

Author SHA1 Message Date
f4exb
5777875618 PVS studio static analyzer fixes (2) 2018-06-22 00:15:23 +02:00
f4exb
b00aea8989 PVS studio static analyzer fixes (1) 2018-06-21 19:28:11 +02:00
f4exb
1eb8716a9f Fixes for Arch. Manual merge of pull request #183. DATV demod: fixed some of ffmpeg deprecation warnings 2018-06-13 00:20:51 +02:00
Jason Gerecke
7c67b7de7c qrtplib: clear buffer fed to RTPSession::CreateCNAME
The RTPSession::CreateCNAME function checks to see if the buffer that
it is provided already has any data in it, and appends to it if so. The
RTPSession::InternalCreate function calls this function with an uninitialized
buffer, which results in indeterminate behavior. To ensure that the CNAME
is properly created, we clear the buffer before use.

==30323== Conditional jump or move depends on uninitialised value(s)
==30323==    at 0x4C30109: __strlen_sse2 (vg_replace_strmem.c:460)
==30323==    by 0x85647A4: qrtplib::RTPSession::CreateCNAME(unsigned char*, unsigned long*, bool) (rtpsession.cpp:1150)
==30323==    by 0x8564B35: qrtplib::RTPSession::InternalCreate(qrtplib::RTPSessionParams const&) (rtpsession.cpp:218)
==30323==    by 0x5499159: RTPSink::RTPSink(QUdpSocket*, int, bool) (rtpsink.cpp:48)
==30323==    by 0x5420B6A: AudioNetSink::AudioNetSink(QObject*, int, bool) (audionetsink.cpp:42)
==30323==    by 0x541F465: AudioOutput::start(int, int) (audiooutput.cpp:114)
==30323==    by 0x5412763: AudioDeviceManager::startAudioOutput(int) (audiodevicemanager.cpp:361)
==30323==    by 0x5412B0C: AudioDeviceManager::addAudioSink(AudioFifo*, MessageQueue*, int) (audiodevicemanager.cpp:229)
==30323==    by 0x33F96DE7: BFMDemod::BFMDemod(DeviceSourceAPI*) (bfmdemod.cpp:56)
==30323==    by 0x33FB03F2: non-virtual thunk to BFMPlugin::createRxChannelBS(DeviceSourceAPI*) (bfmplugin.cpp:62)
==30323==    by 0x4F47F25: DeviceUISet::loadRxChannelSettings(Preset const*, PluginAPI*) (deviceuiset.cpp:199)
==30323==    by 0x4EA51EA: MainWindow::loadPresetSettings(Preset const*, int) (mainwindow.cpp:575)
==30323==    by 0x4EAC81B: MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) (mainwindow.cpp:176)
==30323==    by 0x10A49B: runQtApplication(int, char**, qtwebapp::LoggerWithFile*) (main.cpp:120)
==30323==    by 0x109B38: main (main.cpp:131)
2018-04-21 18:52:20 -07:00
f4exb
8dfdc1086c PVS-Studio static analysis corrections (4) 2018-04-04 23:39:31 +02:00
f4exb
b244222667 qrtplib: fixed urandom calls 2018-03-29 19:55:03 +02:00
f4exb
72e29fd3f8 Moved export.h file to root of exports directory and removed util 2018-03-20 13:49:21 +01:00
f4exb
b2e446afcc Windows build: new location for export header 2018-03-10 20:32:46 +01:00
f4exb
4f9a49cf02 Avoid useless sdrbase dependency by moving the exports header in its own folder 2018-03-09 13:48:14 +01:00
f4exb
5b0f62c3e2 qrtplib: copy Audio to UDP/RTP: use a single UDP socket for UDP and RTP 2018-03-08 00:16:24 +01:00
f4exb
9648779002 qrtplib: removed useless header 2018-03-07 02:17:08 +01:00
f4exb
0c861d63e2 qrtplib: use it for the audio net sink 2018-03-06 23:16:50 +01:00
f4exb
9dacbb6d83 qrtplib: NFM demod implementation. Also solve issue Cannot create children for a parent that is in a different thread on UDP sink used for copy audio to UDP 2018-03-06 02:23:47 +01:00
f4exb
9f9eaa7a88 qrtplib: RTP address constructor with host address and port 2018-03-05 22:09:00 +01:00
f4exb
915b865e6a qrtplib: file cleanup 2018-03-05 21:27:06 +01:00
f4exb
3c4d40ac73 qrtplib: Windows build 2018-03-05 16:40:53 +01:00
f4exb
e86e2f25a2 qrtplib: simplify random functions 2018-03-05 01:43:22 +01:00
f4exb
afe3fbabd3 qrtplib: new RTPUDPTransmitter 2018-03-05 01:17:19 +01:00
f4exb
c22d146376 Adapt to MSVC linker 2018-03-03 20:23:38 +01:00
f4exb
13d3ec949d qrtplib: added missing file 2018-03-01 01:40:04 +01:00
f4exb
8f4a006bca qrtplib: generic UDP transmitter (2) 2018-03-01 01:08:57 +01:00
f4exb
cd7962508d qrtplib: generic UDP transmitter (1) 2018-02-28 14:20:53 +01:00
f4exb
f678c049f9 qrtplib: replaced size_t by std::size_t 2018-02-28 13:31:44 +01:00
f4exb
a0c7381047 qrtplib: implemented Qt style RTP address object 2018-02-28 01:37:47 +01:00
f4exb
dbbdc851c6 qrtplib: removed transmitters and addresses implementations 2018-02-28 01:09:57 +01:00
f4exb
493b37c37c qrtplib: removed mutex macros 2018-02-28 00:19:19 +01:00
f4exb
83cf128dc0 qrtplib: removed rtpbyteaddress 2018-02-28 00:00:17 +01:00
f4exb
ac5489ae37 qrtplib: removed JRTPLIB_UNUSED 2018-02-27 23:54:23 +01:00
f4exb
92bc10efe6 qrtplib: removed probation support 2018-02-27 23:36:24 +01:00
f4exb
b8c50eb798 qrtplib: removed JRTPLIB_IMPORTEXPORT 2018-02-27 23:26:03 +01:00
f4exb
fb4d07c275 qrtplib: removed unknown packet support 2018-02-27 23:13:12 +01:00
f4exb
ff4a35b3e3 qrtplib: removed memory management 2018-02-27 23:05:46 +01:00
f4exb
6bb5e165cf qrtplib: added missing file 2018-02-27 19:13:18 +01:00
f4exb
8c1293e213 qrtplib: restored new operator 2018-02-27 02:44:27 +01:00
f4exb
ed2f348bfa qrtplib: removed extra transmitters 2018-02-27 02:17:42 +01:00
f4exb
868b963178 qrtplib: added rtpendian.h in CmakeLists.txt 2018-02-27 02:16:18 +01:00
f4exb
c1c705b8be qrtplib: removed IPV6 and netinet dependency 2018-02-27 02:14:45 +01:00
f4exb
ced185c2ff qrtplib: removed secured session 2018-02-27 01:45:48 +01:00
f4exb
c15c8b79d9 qrtplib: removed jthread 2018-02-27 01:43:41 +01:00
f4exb
30d019d39a qrtplib: removed debug 2018-02-27 01:35:16 +01:00
f4exb
7f067da9cc qrtplib: reimport and compile 2018-02-27 01:09:59 +01:00
f4exb
b8147ffacc qrtplib: draft (2) 2018-02-25 19:31:15 +01:00
f4exb
bf58108ac3 qrtplib: fixed compiler warning 2018-02-23 00:13:23 +01:00
f4exb
354d5b3b5a qrtplib: draft (1) 2018-02-22 18:43:28 +01:00