diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-01-10 12:55:11 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-08 14:50:37 +0000 |
commit | eef73b44893fdaf5918c494d315e2a0b69e4a008 (patch) | |
tree | 9f42e414631f476151290d8f9ef459ca482be19a /meta/recipes-devtools/elfutils | |
parent | 981bd3a297ff51f30bebfa189e1516c7507cf278 (diff) | |
download | poky-eef73b44893fdaf5918c494d315e2a0b69e4a008.tar.gz |
eglibc-nativesdk: Fix buffer overrun with a relocated SDK
When ld-linux-*.so.2 is relocated to a path that is longer than the
original fixed location, the dynamic loader will crash in open_path
because it implicitly assumes that max_dirnamelen is a fixed size that
never changes.
The allocated buffer will not be large enough to contain the directory
path string which is larger than the fixed location provided at build
time.
(From OE-Core rev: 8ebd85d29eb1a9c0c0d3cd79e7dda8b857c27bbb)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
0 files changed, 0 insertions, 0 deletions