pulseaudio/src/modules/bluetooth
Igor V. Kovalenko 33129c88dc backend-native: Fix parsing comma-delimited response
Incoming RFCOMM string has extra end-of-command terminating character which
breaks both AT+BIA= and AT+BAC= parsers which only expect a comma.

This leads to error parsing last element of response in both cases and could
prevent detecting mSBC availability if mSBC codec id comes last, e.g. AT+BIA=1,2

Fix this by additionally checking for delimiters in both parsers.

Fixes: 3c63f8e6d ("backend-native: Fix stack corruption reading RFCOMM AT+BIA= response")
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/768>
2023-01-19 21:38:05 +03:00
..
a2dp-codec-api.h bluetooth: Add faststream codec 2022-10-17 09:07:09 +03:00
a2dp-codec-aptx-gst.c bluetooth: Add faststream codec 2022-10-17 09:07:09 +03:00
a2dp-codec-gst.c bluetooth/gst: Correct var type for GST_TYPE_BITMASK 2022-06-17 19:12:57 +00:00
a2dp-codec-gst.h bluetooth/gst: Timestamp encoding buffers according to PA clock 2022-02-21 12:33:18 -05:00
a2dp-codec-ldac-gst.c bluetooth: Add faststream codec 2022-10-17 09:07:09 +03:00
a2dp-codec-sbc.c bluetooth: Add 20dB boost for faststream source volume 2022-10-17 09:07:09 +03:00
a2dp-codec-util.c bluetooth: Add faststream codec 2022-10-17 09:07:09 +03:00
a2dp-codec-util.h bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
a2dp-codecs.h bluetooth: Update a2dp-codecs.h from upstream bluez project 2019-04-12 13:56:28 +03:00
backend-native.c backend-native: Fix parsing comma-delimited response 2023-01-19 21:38:05 +03:00
backend-ofono.c bluetooth: Only remove cards belonging to the device. 2021-08-25 15:20:57 +00:00
bluez5-util.c Revert "bluez5-util: move pa_bluetooth_discovery to header" 2022-08-16 08:16:24 +03:00
bluez5-util.h Revert "bluez5-util: move pa_bluetooth_discovery to header" 2022-08-16 08:16:24 +03:00
bt-codec-api.h bluetooth: Add 20dB boost for faststream source volume 2022-10-17 09:07:09 +03:00
bt-codec-cvsd.c bluetooth: split BT codec from A2DP SEP configuration api 2021-04-05 15:43:32 +00:00
bt-codec-msbc.c bluetooth: mSBC: Decode packets larger than mSBC frame 2022-05-27 17:42:38 +00:00
bt-codec-msbc.h bluetooth: add support for mSBC codec 2021-04-05 15:43:32 +00:00
meson.build bluetooth: add UPower backend 2022-08-01 19:16:25 +00:00
module-bluetooth-discover.c bluetooth: Remove leftover references to the BlueZ 4/5 split 2018-07-27 11:28:11 +03:00
module-bluetooth-policy.c bluetooth: complete bluetooth profile separation 2021-02-23 06:54:39 +00:00
module-bluez5-device.c bluetooth: Add 20dB boost for faststream source volume 2022-10-17 09:07:09 +03:00
module-bluez5-discover.c bluetooth: Add avrcp_absolute_volume module flag for disablement 2021-05-17 14:50:03 +00:00
rtp.h bluetooth: Rename rtp_sbc_payload to rtp_payload 2022-02-21 12:15:47 +05:30
upower.c bluetooth: add UPower backend 2022-08-01 19:16:25 +00:00
upower.h bluetooth: add UPower backend 2022-08-01 19:16:25 +00:00