OSDN Git Service
AVRCP: Fix crash when connecting role without a record
Invalid read of size 4
at 0x469310: btd_service_connecting_complete (service.c:315)
by 0x41B29F: session_ct_init_control (avrcp.c:3208)
by 0x41AD70: state_changed (avrcp.c:3356)
by 0x417B84: avctp_set_state (avctp.c:550)
by 0x419E04: avctp_connect_cb (avctp.c:1222)
by 0x450869: accept_cb (btio.c:202)
by 0x3F31A47A54: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A47D87: ??? (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x3F31A48181: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.2)
by 0x40A335: main (main.c:595)
Address 0x20 is not stack'd, malloc'd or (recently) free'd