[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 04/07: Fix Coverity Scan issues in gr-dtv.
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 04/07: Fix Coverity Scan issues in gr-dtv. |
Date: |
Mon, 26 Jan 2015 19:06:42 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit e2ea12c8c33788d5ab3dc3ab715d7f6658ff4a4d
Author: Ron Economos <address@hidden>
Date: Mon Jan 26 03:01:49 2015 -0800
Fix Coverity Scan issues in gr-dtv.
---
gr-dtv/lib/atsc/atsc_field_sync_mux_impl.cc | 4 ++++
gr-dtv/lib/atsc/atsc_interleaver_impl.cc | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/gr-dtv/lib/atsc/atsc_field_sync_mux_impl.cc
b/gr-dtv/lib/atsc/atsc_field_sync_mux_impl.cc
index e9b875c..ed9c44a 100644
--- a/gr-dtv/lib/atsc/atsc_field_sync_mux_impl.cc
+++ b/gr-dtv/lib/atsc/atsc_field_sync_mux_impl.cc
@@ -188,6 +188,10 @@ namespace gr {
// write out field sync...
atsc_data_segment field_sync;
+ field_sync.pli._flags = 0;
+ field_sync.pli._segno = 0;
+ memset(field_sync._pad_, 0, atsc_data_segment::NPAD);
+
if (in[index].pli.in_field1_p()) {
init_field_sync_1(&field_sync, d_saved_symbols);
}
diff --git a/gr-dtv/lib/atsc/atsc_interleaver_impl.cc
b/gr-dtv/lib/atsc/atsc_interleaver_impl.cc
index 2826a5b..45f6bfb 100644
--- a/gr-dtv/lib/atsc/atsc_interleaver_impl.cc
+++ b/gr-dtv/lib/atsc/atsc_interleaver_impl.cc
@@ -57,8 +57,6 @@ namespace gr {
memset(registers, 0, sizeof(unsigned char) * I * ((I - 1) * J));
memset(pointers, 0, sizeof(int) * I);
- this->I = I;
- this->J = J;
commutator = 0;
}
- [Commit-gnuradio] [gnuradio] branch master updated (620817e -> 500517a), git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 01/07: gr-utils: Added octave function to write fc32 format (gr_complex) from Octave variables., git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 06/07: Merge remote-tracking branch 'garverp/tuntap_select', git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 02/07: cmake: Add checks for SWIG versions 3.0.[34], with user-friendly messages for both success and failure., git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 07/07: Merge remote-tracking branch 'drmpeg/gr-dtv-coverity', git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 05/07: Merge remote-tracking branch 'garverp/complex_write_script', git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 03/07: gr-blocks: Make tap/tun configurable, fix GRC spec to be consistent with default flag of IFF_TAP, git, 2015/01/26
- [Commit-gnuradio] [gnuradio] 04/07: Fix Coverity Scan issues in gr-dtv.,
git <=