Fix Use After Free from SignalReceiver 36/312636/1
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 12 Jun 2024 09:48:55 +0000 (18:48 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 12 Jun 2024 10:26:17 +0000 (19:26 +0900)
commit89032851f96f0edd4e8503350c92aa7d745e78df
treefb47f24f403a877fb4e3f928e9b074014f1853d3
parenteabf7cae20bcc6b48f7001a82fd08f067637817d
Fix Use After Free from SignalReceiver

The SignalReceiver can be freed while callin the registered callback
functions when the pkgmgr_client_free is called in the callback function

Change-Id: I873508ddd5baa1ad2a27399d3b19c507312171c4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
client/src/connector.cc
client/src/connector.hh
client/src/signal_receiver.cc
client/src/signal_receiver.hh