Fix various improper memory handling bugs 37/246437/3 accepted/tizen/unified/20201102.124206 submit/tizen/20201102.025704
authorSeungbae Shin <seungbae.shin@samsung.com>
Thu, 29 Oct 2020 08:51:05 +0000 (17:51 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Fri, 30 Oct 2020 07:30:12 +0000 (16:30 +0900)
commitf7bc5b411064012739f3944ee98e96b1c676a0f8
treeef74cb056e378c6e19a0872766ff50d328b77e05
parent7275b04d86b876e76c958170541c1d5922566828
Fix various improper memory handling bugs

- memory leaks due to missing message unref
- memory leaks due to missing dbus string array free.
- potential memory corruption due to passing different size of data type.
- use-after-free of string retrieved by dbus_message_iter_get_basic()
- use duplicated string for strtok_r()

[Version] 13.0.37
[Issue Type] Bug

Change-Id: I6dea62168cef2fd1387f1e1a3ffc37eb2fe47fa5
packaging/pulseaudio-modules-tizen.spec
src/device-manager-dbus.c
src/stream-manager-dbus.c
src/subscribe-observer.c
src/tizen-device.c