mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
src/eitd/xmlutil.cpp fix possible segfault
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4fccb307c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-17 (Sun, 17 Apr 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -306,7 +306,10 @@ bool readEventsFromFile(std::string &epgname, int &ev_count)
|
||||
onid = xmlGetNumericAttribute(service, "original_network_id", 16);
|
||||
tsid = xmlGetNumericAttribute(service, "transport_stream_id", 16);
|
||||
sid = xmlGetNumericAttribute(service, "service_id", 16);
|
||||
|
||||
if(!onid || !tsid || !sid){
|
||||
service = xmlNextNode(service);
|
||||
continue;
|
||||
}
|
||||
event = xmlChildrenNode(service);
|
||||
|
||||
while (event) {
|
||||
|
Reference in New Issue
Block a user