]> code.ossystems Code Review - openembedded-core.git/commit
parted: fix several integer overflows
authorMing Liu <ming.liu@windriver.com>
Tue, 26 Feb 2013 01:19:44 +0000 (09:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Feb 2013 23:14:40 +0000 (23:14 +0000)
commit9acaa764a4df8d589011ff597bba2afc05d6e78b
tree46f77b3c3227956430d4811f6993567ce834cba7
parentd7b8ae19464a3fe87822376b541b3d6865fe6115
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>
meta/recipes-extended/parted/parted-3.1/fix-dvh-overflows.patch [new file with mode: 0644]
meta/recipes-extended/parted/parted_3.1.bb