summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-16 15:16:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-16 15:16:45 +0000
commit3a082ca7bd37268e851a0fd78772df2f5200beca (patch)
tree845e7d08aabec525b70d4732e1adfbc1372eeca3
parent6b4fc0af31df1b4736c2209893b2b7d8890b0ed7 (diff)
Filter out more meta characters
-rw-r--r--hcid/security.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/security.c b/hcid/security.c
index ab22f14d..d1aee4e2 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -336,6 +336,8 @@ static void call_pin_helper(int dev, bdaddr_t *sba, struct hci_conn_info *ci)
case '"':
case '`':
case '$':
+ case '|':
+ case ';':
case '\\':
*ptr++ = '\\';
}