linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] meshctl truncates GATT MTU
@ 2019-09-28 14:14 Michael N. Moran
  2019-09-28 14:14 ` [PATCH BlueZ] The meshctl sock_write() max_len variable is declared as a uint8_t, which causes the calculation of the GATT MTU to be truncated when the MTU (write_mtu) is greater than 259. This error causes incorrect segmentation Michael N. Moran
  0 siblings, 1 reply; 2+ messages in thread
From: Michael N. Moran @ 2019-09-28 14:14 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Michael N. Moran

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

This patch fixes a bug in meshctl that causes the
GATT MTU to be truncated resulting in incorrect
segmentation when the MTU is greater than 259.

Michael N. Moran (1):
  The meshctl sock_write() max_len variable is declared as
    uint8_t, which causes the calculation of the GATT MTU
	to be truncated when the MTU (write_mtu) is greater
	than 259. This error causes incorrect segmentation.

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

-- 
1.8.3.1


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

end of thread, other threads:[~2019-09-28 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-28 14:14 [PATCH BlueZ] meshctl truncates GATT MTU Michael N. Moran
2019-09-28 14:14 ` [PATCH BlueZ] The meshctl sock_write() max_len variable is declared as a uint8_t, which causes the calculation of the GATT MTU to be truncated when the MTU (write_mtu) is greater than 259. This error causes incorrect segmentation Michael N. Moran

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).