fixup! Fix heap-use-after-free issue 34/285834/4 accepted/tizen/unified/20221222.055310
authorYoungHun Kim <yh8004.kim@samsung.com>
Wed, 21 Dec 2022 04:42:53 +0000 (13:42 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Wed, 21 Dec 2022 07:07:15 +0000 (16:07 +0900)
commit3383987d4ca4e9e6dd3e7f1ed18f8bff1c37e8c2
treeefa3befc6d51b134661cc5004a37aa87a9b7cadf
parentf38e3d5f73f629fbdc2829f14e138c9b41233970
fixup! Fix heap-use-after-free issue

 - By thread scheduling, the data thread can be executed before setting the value of 'is_created'.
   where is set at _ms_ipc_dispatch_create().  So I remove to check value of 'is_created' which cause
   it not to run despite normal data thread execution. Instead we can use muse_server_module_is_valid().

Change-Id: I8bc4c0ac65d4ee98e477c0d5e475c2c60cff289e
packaging/mused.spec
server/src/muse_server_ipc.c