]> code.ossystems Code Review - openembedded-core.git/commit
libxfont: Security Advisory - libxfont - CVE-2015-1804
authorLi Zhou <li.zhou@windriver.com>
Mon, 27 Apr 2015 02:54:22 +0000 (10:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Apr 2015 06:56:01 +0000 (07:56 +0100)
commit4dd4b96b6d60246338bb30ede9f3ab1b2e757be9
tree764a18be387cd62bbfc7bbb7a3eec045340f1e95
parent2c7a15a074501beb6b8a4c7bdf30604b1a432a6b
libxfont: Security Advisory - libxfont - CVE-2015-1804

bdfReadCharacters: ensure metrics fit into xCharInfo struct

We use 32-bit ints to read from the bdf file, but then try to stick
into a 16-bit int in the xCharInfo struct, so make sure they won't
overflow that range.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libxfont/0001-bdfReadCharacters-ensure-metrics-fit-into-xCharInfo-.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-lib/libxfont_1.5.0.bb