mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
eitd: -fix read/write epg collision
Origin commit data
------------------
Branch: ni/coolstream
Commit: 520cf0e150
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-08 (Tue, 08 May 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1180,12 +1180,12 @@ static void commandReadSIfromXML(int connfd, char *data, const unsigned dataLeng
|
||||
|
||||
static void commandWriteSI2XML(int connfd, char *data, const unsigned dataLength)
|
||||
{
|
||||
char epgdir[100] = "";
|
||||
|
||||
sendEmptyResponse(connfd, NULL, 0);
|
||||
|
||||
if (dataLength > 100)
|
||||
return;
|
||||
if ((!reader_ready) || (dataLength > 100)){
|
||||
eventServer->sendEvent(CSectionsdClient::EVT_WRITE_SI_FINISHED, CEventServer::INITID_SECTIONSD);
|
||||
return;
|
||||
}
|
||||
char epgdir[100] = "";
|
||||
|
||||
strncpy(epgdir, data, dataLength);
|
||||
epgdir[dataLength] = '\0';
|
||||
|
Reference in New Issue
Block a user