Pass missing parameter to real function 91/291591/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 19 Apr 2023 02:43:53 +0000 (11:43 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 19 Apr 2023 02:43:53 +0000 (11:43 +0900)
commita894a5f0f77c04256e13c5aa8f08a5b282bcb720
treed07239db1edbd835f4340be79e23280b0d220c6a
parent4efab47f8f4fe7a3120932ef531baaab4cdece83
Pass missing parameter to real function

- Issue:
After reprepare_on_demand(), the client handle is missing.

- Solution:
Previous code does not pass all neccessary parameters, so the function
can write value into arbitrary pointer. And this pointer access can
cause critical memory crash. Thus, this patch fixes the code to make
sure the tts_ipc module pass all proper parameters to actual function in
tts_dbus and tts_tidl module.

Change-Id: I2276c05e3b29f070664b8fad607cc1d13ddb9cee
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts_ipc.c