Do not create a dispatcher thread when accessing an invalid fd 36/215536/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.022527 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090335 accepted/tizen/unified/20191015.012032 submit/tizen/20191014.103159 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
authorYoungHun Kim <yh8004.kim@samsung.com>
Thu, 10 Oct 2019 08:42:16 +0000 (17:42 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Mon, 14 Oct 2019 10:27:36 +0000 (19:27 +0900)
Change-Id: I82df329239bf6a1965ee770865cbca16522c9f2a

packaging/mused.spec
server/src/muse_server.c

index aba247d..b127764 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mused
 Summary:    A multimedia daemon
-Version:    0.3.90
+Version:    0.3.91
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0 and BSD-3-Clause
index bb6c7dd..eb82663 100644 (file)
@@ -91,6 +91,7 @@ bool muse_server_module_is_valid(muse_module_h m)
 {
        muse_return_val_if_fail(m, false);
        muse_return_val_if_fail(m->pid > 0, false);
+       muse_return_val_if_fail(muse_core_fd_is_valid(m->ch[MUSE_CHANNEL_MSG].sock_fd), false);
 
        return true;
 }