1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

GLScope: fixed trace memory out of bounds when full history is not complete

This commit is contained in:
f4exb
2015-11-06 08:56:33 +01:00
parent 548b0602fa
commit 3eec09a01f
2 changed files with 13 additions and 3 deletions
+1
View File
@@ -103,6 +103,7 @@ private:
int m_sampleRates[16];
BitfieldIndex<m_memHistorySizeLog2> m_memTraceIndex; //!< current index of trace being written
BitfieldIndex<m_memHistorySizeLog2> m_memTraceHistory; //!< trace index shift into history
int m_memTraceIndexMax;
bool m_memTraceRecall;
std::vector<Complex> m_mathTrace;
std::vector<Complex>* m_displayTrace;