mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
CNeutrinoApp::loadSetup: Fix Segfault when an remote timer is defined
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9fe20399c4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-02 (Thu, 02 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -468,7 +468,8 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
if (timer_remotebox_itemcount) {
|
||||
for (int i = 0; i < timer_remotebox_itemcount; i++) {
|
||||
timer_remotebox_item timer_rb;
|
||||
memset(&timer_rb, 0, sizeof(struct timer_remotebox_item));
|
||||
timer_rb.online = false;
|
||||
timer_rb.port = 0;
|
||||
std::string k;
|
||||
k = "timer_remotebox_ip_" + to_string(i);
|
||||
timer_rb.rbaddress = configfile.getString(k, "");
|
||||
|
Reference in New Issue
Block a user