From 608dffe9ca2b3de64deecb0a3b897513ec18943c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 11 Jul 2017 11:27:47 -0700 Subject: [PATCH] autopair: Fix PIN string buffer size --- plugins/autopair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autopair.c b/plugins/autopair.c index c201722f6..b87e621b8 100644 --- a/plugins/autopair.c +++ b/plugins/autopair.c @@ -59,7 +59,7 @@ static ssize_t autopair_pincb(struct btd_adapter *adapter, unsigned int attempt) { char addr[18]; - char pinstr[7]; + char pinstr[8]; uint32_t class; ba2str(device_get_address(device), addr); -- 2.47.3