diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-03-25 19:48:14 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2016-03-25 19:48:14 +0100 |
commit | 3e97d79aace97df38ffb8a9348d614b8db048ceb (patch) | |
tree | e572d1fcb82f67ac92532dbe112b447327fd93dc | |
parent | 3a056a3b2a816f7d5f370346eb491ac3ebfe2995 (diff) | |
parent | 366ad1e7c425d0ab86cbcc3dd3a594d03142cd9f (diff) |
Merge pull request #9249 from Tolriq/Jarvis
[Backport] EventServer security fix.
-rw-r--r-- | xbmc/network/EventServer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/network/EventServer.cpp b/xbmc/network/EventServer.cpp index b91549cfd7..472b421ed3 100644 --- a/xbmc/network/EventServer.cpp +++ b/xbmc/network/EventServer.cpp @@ -157,6 +157,9 @@ void CEventServer::Run() CSocketListener listener; int packetSize = 0; + if (!CSettings::GetInstance().GetBool(CSettings::SETTING_SERVICES_ESALLINTERFACES)) + any_addr.SetAddress("127.0.0.1"); // only listen on localhost + CLog::Log(LOGNOTICE, "ES: Starting UDP Event server on %s:%d", any_addr.Address(), m_iPort); Cleanup(); |