[dvblast-devel] Uninitialsed Scaler Variable (Found by Coverity: CID 1109739)
Julian Gardner
git at videolan.org
Thu Oct 24 15:15:13 CEST 2013
dvblast | branch: master | Julian Gardner <joolzg at btinternet.com> | Thu Oct 24 15:02:13 2013 +0200| [8c1ce05eb04207f653ee71c2ee7a48007b938b15] | committer: Georgi Chorbadzhiyski
Uninitialsed Scaler Variable (Found by Coverity: CID 1109739)
> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=8c1ce05eb04207f653ee71c2ee7a48007b938b15
---
dvb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dvb.c b/dvb.c
index 089336c..b4af191 100644
--- a/dvb.c
+++ b/dvb.c
@@ -1012,7 +1012,7 @@ static void FrontendSet( bool b_init )
{
struct dvb_frontend_info info;
struct dtv_properties *p;
- fe_delivery_system_t p_systems[MAX_DELIVERY_SYSTEMS];
+ fe_delivery_system_t p_systems[MAX_DELIVERY_SYSTEMS] = { 0 };
int i_systems = 0;
if ( ioctl( i_frontend, FE_GET_INFO, &info ) < 0 )
More information about the dvblast-devel
mailing list