diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-11-24 02:26:02 +0300 |
---|---|---|
committer | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-11-26 17:01:08 +0300 |
commit | 3c63f8e6dca855177d9fb75b735976ff3c7a88fb (patch) | |
tree | 34b7b318f78c7f50594c5d35092cbdc79c35734e /CODE_OF_CONDUCT.md | |
parent | e650c2b33e4fefc0589751b3958bd3b5d3b423ac (diff) | |
download | pulseaudio-3c63f8e6dca855177d9fb75b735976ff3c7a88fb.tar.gz |
backend-native: Fix stack corruption reading RFCOMM AT+BIA= response
On-stack buffer size is too short for sscanf to read AT+BIA= and AT+BAC=
response strings which have variable length.
Fix this by replacing sscanf with proper copy of input string.
Fixes: cca0d6937 ("bluetooth: add AT+BIA support")
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/755>
Diffstat (limited to 'CODE_OF_CONDUCT.md')
0 files changed, 0 insertions, 0 deletions