fixup! tizen-device: add sample spec and return it for connected device list 43/286843/5 accepted/tizen/unified/20230117.140512
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 13 Jan 2023 11:28:31 +0000 (20:28 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 16 Jan 2023 07:01:18 +0000 (16:01 +0900)
commitc64fc166d4fc008e4a31555f794fa201c7e6ae5a
tree194498e1c988a72e1e9e806a02973888e87ad608
parent337a16875a734d99e78ddeb624df923cec6af844
fixup! tizen-device: add sample spec and return it for connected device list

fixes the following potential ASAN issue by retrieving device sample spec just in time.

==pulseaudio==605==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x007f940031f0
0x007f940031f0 is located 424 bytes to the right of 1480-byte region [0x007f94002a80,0x007f94003048)

[Version] 15.0.36
[Issue Type] ASAN

Change-Id: Id3d111cc4a73d026be3c31c6a4ba7a3a6f97d835
packaging/pulseaudio-modules-tizen.spec
src/device-manager-dbus.c
src/tizen-device.c
src/tizen-device.h