aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/parted_3.1.bb
diff options
context:
space:
mode:
authorMing Liu <ming.liu@windriver.com>2013-02-26 09:19:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-28 23:14:40 +0000
commit9acaa764a4df8d589011ff597bba2afc05d6e78b (patch)
tree46f77b3c3227956430d4811f6993567ce834cba7 /meta/recipes-extended/parted/parted_3.1.bb
parentd7b8ae19464a3fe87822376b541b3d6865fe6115 (diff)
downloadopenembedded-core-contrib-9acaa764a4df8d589011ff597bba2afc05d6e78b.tar.gz
parted: fix several integer overflows
Integer overflows were found in libparted/labels/dvh.c, while attemptting to assign unsigned int values to int types in some places. These overflows only can be observed on BE platforms like MIPS, when the "WORDS_BIGENDIAN" macro is defined in parted. Defined by unsigned int instead. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/parted/parted_3.1.bb')
-rw-r--r--meta/recipes-extended/parted/parted_3.1.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/parted/parted_3.1.bb b/meta/recipes-extended/parted/parted_3.1.bb
index 21d3a66b70..079b29593d 100644
--- a/meta/recipes-extended/parted/parted_3.1.bb
+++ b/meta/recipes-extended/parted/parted_3.1.bb
@@ -4,13 +4,14 @@ LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
SECTION = "console/tools"
DEPENDS = "ncurses readline util-linux"
-PR = "r0"
+PR = "r1"
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
file://no_check.patch \
file://syscalls.patch \
file://fix-git-version-gen.patch \
- file://fix-doc-mandir.patch"
+ file://fix-doc-mandir.patch \
+ file://fix-dvh-overflows.patch"
SRC_URI[md5sum] = "5d89d64d94bcfefa9ce8f59f4b81bdcb"
SRC_URI[sha256sum] = "5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15"