summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-09-21 09:14:58 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:52:50 +0100
commit12772c8888bbff450540cb149466ca99c392b543 (patch)
tree0ace5b432f1f2f04179bc9fa0e7af0e0bf575b1d /meta/recipes-kernel
parent88b11e65f31259c158ecfdf1136b456e2fcfd9f5 (diff)
downloadpoky-12772c8888bbff450540cb149466ca99c392b543.tar.gz
linux-yocto/4.1: hid-core: Avoid uninitialized buffer access
Updating the 4.1 SRCREVs to integrate the following commit: hid-core: Avoid uninitialized buffer access hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing would be written to it but the kernel will still print the supposedly empty buffer with printk. This leads to corruption on the console/in the logs. Ensure buf is initialized to an empty string. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [dvhart: Initialize string to "" rather than assign buf[0] = NULL;] Cc: Jiri Kosina <jikos@kernel.org> Cc: linux-input@vger.kernel.org Cc: stable@vger.kernel.org Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> (From OE-Core rev: 1c6c1af385a481b0a57ab06cd40af56be3425cc8) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb2
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb2
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_4.1.bb16
3 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb
index 7265cde3fa..4e2db91dfc 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb
@@ -2,7 +2,7 @@ KBRANCH ?= "standard/preempt-rt"
2 2
3require recipes-kernel/linux/linux-yocto.inc 3require recipes-kernel/linux/linux-yocto.inc
4 4
5SRCREV_machine ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 5SRCREV_machine ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
6SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5" 6SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5"
7 7
8SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \ 8SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;branch=${KBRANCH};name=machine \
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb
index b0619702f7..396bc21e5e 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb
@@ -9,7 +9,7 @@ LINUX_VERSION ?= "4.1.6"
9KMETA = "kernel-meta" 9KMETA = "kernel-meta"
10KCONF_BSP_AUDIT_LEVEL = "2" 10KCONF_BSP_AUDIT_LEVEL = "2"
11 11
12SRCREV_machine ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 12SRCREV_machine ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
13SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5" 13SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5"
14 14
15PV = "${LINUX_VERSION}+git${SRCPV}" 15PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.1.bb b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
index d974842810..d72c5a7e1b 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
@@ -11,14 +11,14 @@ KBRANCH_qemux86 ?= "standard/base"
11KBRANCH_qemux86-64 ?= "standard/base" 11KBRANCH_qemux86-64 ?= "standard/base"
12KBRANCH_qemumips64 ?= "standard/mti-malta64" 12KBRANCH_qemumips64 ?= "standard/mti-malta64"
13 13
14SRCREV_machine_qemuarm ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 14SRCREV_machine_qemuarm ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
15SRCREV_machine_qemuarm64 ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 15SRCREV_machine_qemuarm64 ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
16SRCREV_machine_qemumips ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 16SRCREV_machine_qemumips ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
17SRCREV_machine_qemuppc ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 17SRCREV_machine_qemuppc ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
18SRCREV_machine_qemux86 ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 18SRCREV_machine_qemux86 ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
19SRCREV_machine_qemux86-64 ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 19SRCREV_machine_qemux86-64 ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
20SRCREV_machine_qemumips64 ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 20SRCREV_machine_qemumips64 ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
21SRCREV_machine ?= "f830ab33799d6e0b5433c18c5c6c3c68dce17815" 21SRCREV_machine ?= "ff7ef77f1350cce9b50cc5abbf48926c83fd32a8"
22SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5" 22SRCREV_meta ?= "ef417dc3dbac098e2273b9157bf7ea8b1ade0ec5"
23 23
24SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \ 24SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \