Restoring vbc_ctrl_pipe_info pointer before access 83/77383/5 accepted/tizen/mobile/20160706.132619 submit/tizen/20160706.115009
authorSlava Barinov <v.barinov@samsung.com>
Wed, 29 Jun 2016 10:24:57 +0000 (13:24 +0300)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 6 Jul 2016 11:48:08 +0000 (20:48 +0900)
commite6bfd002d72226ea558616a7c83349c3a74bc31d
treebf8afd3c58fcdb8cb71eda9d81879f72b042b2c1
parentc774982fd8d8002f9908e148a84d92ddef02e46f
Restoring vbc_ctrl_pipe_info pointer before access

The Address Sanitizer finds bug in access to
ah->modem.cp->vbc_ctrl_pipe_info->cp_type which is caused by
modem->vbc_ctrl_pipe_info++ in __audio_modem_start_tag().

Now the pointer is set to array start and points to first type.

[Version] 0.1.17
[Profile] Mobile
[Issue Type] Memory Access Bug

Change-Id: If3c86284df24869920ba557886707c54be8ee109
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/audio-hal-sc7727.spec
tizen-audio-modem.c