summaryrefslogtreecommitdiffstats
path: root/meta/packages/bluez/bluez-utils-dbus/smash.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-08 15:30:16 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-08 15:30:16 +0000
commit4c5caa6764150e68775e7d4774e82b5a27e475f8 (patch)
tree5f14cf02be03663e124f04b9a6c548e42a5f57ec /meta/packages/bluez/bluez-utils-dbus/smash.patch
parent81547613652cbcc65dfc1e832e6845f3f167c2be (diff)
downloadpoky-4c5caa6764150e68775e7d4774e82b5a27e475f8.tar.gz
bluez: Move from meta-extras to meta since required by syncml/openobex
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1612 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bluez/bluez-utils-dbus/smash.patch')
-rw-r--r--meta/packages/bluez/bluez-utils-dbus/smash.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/bluez/bluez-utils-dbus/smash.patch b/meta/packages/bluez/bluez-utils-dbus/smash.patch
new file mode 100644
index 0000000000..55cdbb7284
--- /dev/null
+++ b/meta/packages/bluez/bluez-utils-dbus/smash.patch
@@ -0,0 +1,11 @@
1--- bluez-utils-2.11/hcid/dbus.c.old 2004-12-31 16:35:12.000000000 +0000
2+++ bluez-utils-2.11/hcid/dbus.c 2004-12-31 16:39:58.000000000 +0000
3@@ -89,6 +89,8 @@
4
5 memset(&pr, 0, sizeof(pr));
6 bacpy(&pr.bdaddr, &req->bda);
7+ if (len > sizeof (pr.pin_code))
8+ goto error;
9 memcpy(pr.pin_code, pin, len);
10 pr.pin_len = len;
11 hci_send_cmd(req->dev, OGF_LINK_CTL, OCF_PIN_CODE_REPLY,