sectionsd: -fix possible buf overflow & skip read EPG cache if index.tmp available

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2123 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1378d78557
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-02-25 18:56:50 +00:00
parent 71e542ceaa
commit f9a2d11b5d

View File

@@ -4595,6 +4595,7 @@ static void *insertEventsfromFile(void *)
if (stat(indexname.c_str(), &buf) == 0){
reader_ready = true;
pthread_exit(NULL);
return;
}
indexname = epg_dir + "index.xml";