aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/bluez/bluez-utils-dbus/smash.patch
blob: 55cdbb7284b7e872d3b3bee2744b5ef74576d58d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- bluez-utils-2.11/hcid/dbus.c.old	2004-12-31 16:35:12.000000000 +0000
+++ bluez-utils-2.11/hcid/dbus.c	2004-12-31 16:39:58.000000000 +0000
@@ -89,6 +89,8 @@
 
 	memset(&pr, 0, sizeof(pr));
 	bacpy(&pr.bdaddr, &req->bda);
+	if (len > sizeof (pr.pin_code))
+		goto error;
 	memcpy(pr.pin_code, pin, len);
 	pr.pin_len = len;
 	hci_send_cmd(req->dev, OGF_LINK_CTL, OCF_PIN_CODE_REPLY,
ption> OpenEmbedded Core user contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync/rsync_3.1.0.bb
blob: 72c072dae5f780d0e7fd7fe55173f90922e2df53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require rsync.inc


SRC_URI += "file://acinclude.m4"

SRC_URI[md5sum] = "3be148772a33224771a8d4d2a028b132"
SRC_URI[sha256sum] = "81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e"

EXTRA_OECONF += "--disable-xattr-support --disable-acl-support"

# rsync 3.0 uses configure.sh instead of configure, and
# makefile checks the existence of configure.sh
do_configure_prepend () {
	rm -f ${S}/configure ${S}/configure.sh
	cp -f ${WORKDIR}/acinclude.m4 ${S}/

	# by default, if crosscompiling, rsync                                                           
	# disables a number of capabilities, hardlinking                                                 
	# symlinks and special files (ie devices)
	export rsync_cv_can_hardlink_special=yes
	export rsync_cv_can_hardlink_symlink=yes 
}

do_configure_append () {
	cp -f ${S}/configure ${S}/configure.sh
}