]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Fix debugedit buildid processing
authorMark Hatle <mark.hatle@windriver.com>
Tue, 26 Mar 2013 03:35:13 +0000 (22:35 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:53:40 +0000 (17:53 +0000)
commitac4d2d44c88cace8dbce0c8e7df3fd1f2ed244b4
treedded5ea615dc3d1880aed0a40a14f7ef2999038b
parent11ba0231244b8a27939969353e3aa668ce78f7c6
rpm: Fix debugedit buildid processing

[ YOCTO #4089 ]

When constructing a new buildid, the items being hashed need to be
returned to their native endian.  In the process we were munging
the sh_type field that we relied on to determine if a section was
loadable or not.  The patch avoids this behavior by only modifying
a copy of the local endian data.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm/debugedit-segv.patch