Fix duplicated buffer issue for output buffer 43/323243/1 accepted/tizen/unified/20250530.090452 accepted/tizen/unified/x/20250531.233015
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 24 Apr 2025 11:46:50 +0000 (20:46 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 24 Apr 2025 11:46:50 +0000 (20:46 +0900)
commit73dc1e2678e146f1f783f74621d96cda40dcc5cb
tree1759849c2ed211fff3590d0f94b3749a278001bb
parent72c12f15c8e99c488e697bddadcb902fdf62a6fe
Fix duplicated buffer issue for output buffer

- Previously, the mutex for output buffer was locked
  after return rpc_port_proxy_codec_invoke_release_output_buffer().
  The problem is that output_buffer[] array could be accessed in message_cb()
  before remove released buffer in output_buffer[] array
  and it caused duplicated output buffer error although it's released actually.

[Version] 1.5.1
[Issue Type] Bug fix

Change-Id: I31ac0afba1ae5323ab19c52cf3a41862ec54543f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/hal-api-codec.spec
src/hal-api-codec-ipc.c