[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bluetooth
Subject:    [PATCH BlueZ] The meshctl sock_write() max_len variable is declared as a uint8_t, which causes the c
From:       "Michael N. Moran" <mike () mnmoran ! org>
Date:       2019-09-28 14:14:03
Message-ID: 1569680043-2874-2-git-send-email-mike () mnmoran ! org
[Download RAW message or body]

From: "Michael N. Moran" <mike@mnmoran.org>

---
 tools/mesh/gatt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mesh/gatt.c b/tools/mesh/gatt.c
index 0a942d4..c9e789c 100644
--- a/tools/mesh/gatt.c
+++ b/tools/mesh/gatt.c
@@ -189,7 +189,7 @@ static bool sock_write(struct io *io, void *user_data)
 	struct write_data *data = user_data;
 	struct iovec iov[2];
 	uint8_t sar;
-	uint8_t max_len;
+	uint16_t max_len;
 
 	if (data == NULL)
 		return true;
-- 
1.8.3.1

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic