summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-06-13 15:27:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-06-13 15:27:30 +0000
commitafc7d6ff6663086aa8bb745fcb8f03f4d5f1d5aa (patch)
tree7a84dfd327905b1e07c34a3a39b637228613ea24 /hcid
parentdfcfad85283a8835c5b6c7fa906c4752b5e22d77 (diff)
Fix size of address array
Diffstat (limited to 'hcid')
-rw-r--r--hcid/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/security.c b/hcid/security.c
index 7ac0dc79..7e2123ca 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -236,7 +236,7 @@ static void call_pin_helper(int dev, struct hci_conn_info *ci)
{
pin_code_reply_cp pr;
struct sigaction sa;
- char addr[12], str[255], *pin, name[20];
+ char addr[18], str[255], *pin, name[20];
FILE *pipe;
int ret, len;