Add to check pid from __accept_candidate_process() 59/238859/7
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 20 Jul 2020 01:36:31 +0000 (10:36 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 20 Jul 2020 02:30:32 +0000 (11:30 +0900)
commit8832dd73ee084822c5631c3bdc2ebef64557f2f0
tree008847d5db88e0b506fd61ae27898f1ea8676c38
parent5f0a12215490d46be1a4f3aa60ca9f5d27219793
Add to check pid from __accept_candidate_process()

Check whether different cpc and received socket pid,
when accept client socket.
If they are different, It is invalid accept.

Change-Id: I2f2a3e9896fc07fc6ee77d4ca77d47042fa6d958
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/common/src/launchpad_common.c
src/launchpad/src/launchpad.c