aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2014-11-21 23:59:49 +0100
committerfritsch <Peter.Fruehberger@gmail.com>2014-12-29 12:17:33 +0100
commit7c6cef8c07da242d654be00cd129027beeca388c (patch)
treee7c69b094a0af826a30b240b624e2ef8a0930def
parent2b12da51f701ab6c2b6b1dc3bc2ef5b766a33ee1 (diff)
fixed: CID 719168 Uninitialized scalar field
The field will contain an arbitrary value left over from earlier computations. In XFILE::​CShoutcastFile::​CShoutcastFile(): A scalar field is not initialized by the constructor (CWE-457)
-rw-r--r--xbmc/filesystem/ShoutcastFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/filesystem/ShoutcastFile.cpp b/xbmc/filesystem/ShoutcastFile.cpp
index 4ed46bbc94..472f3ed83e 100644
--- a/xbmc/filesystem/ShoutcastFile.cpp
+++ b/xbmc/filesystem/ShoutcastFile.cpp
@@ -48,6 +48,7 @@ CShoutcastFile::CShoutcastFile() :
m_buffer = NULL;
m_cacheReader = NULL;
m_tagPos = 0;
+ m_metaint = 0;
}
CShoutcastFile::~CShoutcastFile()