Skip to contentSkip to conversation

btio: Fix BASE copy from getsockopt()

PATCH Applied Claudia Draghicescu 3 participants 4 messages Sep 6, 2023 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

cover btio: Fix BASE copy from getsockopt()

Fix copy of BASE from getsockopt() and update base length.

Claudia Draghicescu (1):
btio: Fix BASE copy from getsockopt()

 btio/btio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

base-commit: 2e47711d4d81d2a86751dc0403895b1d1554182c

Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 btio: Fix BASE copy from getsockopt()

Fix copy of BASE from getsockopt() and update base length.

---
 btio/btio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
btio/btio.c +3 -1
index 8178250d2..8d9959038 100644
@@ -1649,10 +1649,12 @@ static gboolean iso_get(int sock, GError **err, BtIOOption opt1, va_list args)
 		return FALSE;
 	}
 
-	if (getsockopt(sock, SOL_BLUETOOTH, BT_ISO_BASE, &base, &len) < 0) {
+	if (getsockopt(sock, SOL_BLUETOOTH, BT_ISO_BASE,
+			&base.base, &len) < 0) {
 		ERROR_FAILED(err, "getsockopt(BT_ISO_BASE)", errno);
 		return FALSE;
 	}
+	base.base_len = len;
 
 	if (!get_src(sock, &src, sizeof(src), err))
 		return FALSE;
Signature · 1 line
2.34.1
#2 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=781979

---Test result---

Test Summary:

CheckPatch                    PASS      0.54 seconds
GitLint                       PASS      0.36 seconds
BuildEll                      PASS      27.76 seconds
BluezMake                     PASS      886.12 seconds
MakeCheck                     PASS      13.61 seconds
MakeDistcheck                 PASS      159.08 seconds
CheckValgrind                 PASS      261.68 seconds
CheckSmatch                   PASS      349.78 seconds
bluezmakeextell               PASS      106.04 seconds
IncrementalBuild              PASS      722.14 seconds
ScanBuild                     PASS      1088.63 seconds

---
Regards,
Linux Bluetooth

#3 lore raw
In reply to Claudia Draghicescu
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 9 lines · On Wed, 6 Sep 2023 14:42:33 +0300 you wrote:

Fix copy of BASE from getsockopt() and update base length.

Claudia Draghicescu (1):
btio: Fix BASE copy from getsockopt()

 btio/btio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

[...]

Here is the summary with links:
- [BlueZ,1/1] btio: Fix BASE copy from getsockopt()

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=dc13da09d78b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html