linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] btio: Fix BASE copy from getsockopt()
@ 2023-09-06 11:42 Claudia Draghicescu
  2023-09-06 11:42 ` [PATCH BlueZ 1/1] " Claudia Draghicescu
  2023-09-06 23:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Claudia Draghicescu @ 2023-09-06 11:42 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: iulia.tanasescu, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, andrei.istodorescu, luiz.dentz,
	Claudia Draghicescu

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
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH BlueZ 1/1] btio: Fix BASE copy from getsockopt()
  2023-09-06 11:42 [PATCH BlueZ 0/1] btio: Fix BASE copy from getsockopt() Claudia Draghicescu
@ 2023-09-06 11:42 ` Claudia Draghicescu
  2023-09-06 13:26   ` bluez.test.bot
  2023-09-06 23:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  1 sibling, 1 reply; 4+ messages in thread
From: Claudia Draghicescu @ 2023-09-06 11:42 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: iulia.tanasescu, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, andrei.istodorescu, luiz.dentz,
	Claudia Draghicescu

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

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

diff --git a/btio/btio.c b/btio/btio.c
index 8178250d2..8d9959038 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -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;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: btio: Fix BASE copy from getsockopt()
  2023-09-06 11:42 ` [PATCH BlueZ 1/1] " Claudia Draghicescu
@ 2023-09-06 13:26   ` bluez.test.bot
  0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2023-09-06 13:26 UTC (permalink / raw)
  To: linux-bluetooth, claudia.rosu

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ 0/1] btio: Fix BASE copy from getsockopt()
  2023-09-06 11:42 [PATCH BlueZ 0/1] btio: Fix BASE copy from getsockopt() Claudia Draghicescu
  2023-09-06 11:42 ` [PATCH BlueZ 1/1] " Claudia Draghicescu
@ 2023-09-06 23:50 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2023-09-06 23:50 UTC (permalink / raw)
  To: Claudia Draghicescu
  Cc: linux-bluetooth, iulia.tanasescu, mihai-octavian.urzica,
	silviu.barbulescu, vlad.pruteanu, andrei.istodorescu, luiz.dentz

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-06 23:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 11:42 [PATCH BlueZ 0/1] btio: Fix BASE copy from getsockopt() Claudia Draghicescu
2023-09-06 11:42 ` [PATCH BlueZ 1/1] " Claudia Draghicescu
2023-09-06 13:26   ` bluez.test.bot
2023-09-06 23:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).