[Buildroot] [PATCH 1/1] attr: Add a patch to fix an unconditional infinite recursion.

Peter Korsgaard peter at korsgaard.com
Fri Nov 9 13:07:54 UTC 2018


>>>>> "Nicolas" == Nicolas Cavallari <nicolas.cavallari at green-communications.fr> writes:

 > The bump to 2.4.48 introduced a bug that, according to the author,
 > only happen in certain cases on glibc. But under uclibc-ng, it happens
 > every time.

 > The bug essentially cause any program calling any libattr.so function
 > to enter an infinite recursion, because of a symbol conflict between
 > uclibc-ng and libattr wrappers, that causes the libattr wrappers to
 > call themselves.

 > This infinite recursion does not consume the stack, so programs
 > basically behave like they enter an infinite loop.

 > It is easy to reproduce with qemu_arm_versatile_defconfig +
 > BR2_PACKAGE_ATTR: "getfattr ." never returns and takes 100% CPU.

 > Upstream fixed it, but the patch is not part of a release yet,
 > so take the patch.

 > Signed-off-by: Nicolas Cavallari <nicolas.cavallari at green-communications.fr>

 > --
 > An alternative is to bump the version to this commit in the master
 > branch.  The other changes[1] are mostly related to tests or
 > documentation, except for one patch[2] that tries more aggressively to
 > enable large file support.

 > [1] http://git.savannah.nongnu.org/cgit/attr.git/log/
 > [2] http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=fd1d8ee21df8d11460baa858ae5c5d20e38fb70e

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list