[Buildroot] [PATCH 1/1] attr: Add a patch to fix an unconditional infinite recursion.
peter at korsgaard.com
Sun Nov 25 21:28:18 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 are mostly related to tests or
> documentation, except for one patch that tries more aggressively to
> enable large file support.
>  http://git.savannah.nongnu.org/cgit/attr.git/log/
>  http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=fd1d8ee21df8d11460baa858ae5c5d20e38fb70e
Committed to 2018.02.x and 2018.08.x, thanks.
Bye, Peter Korsgaard
More information about the buildroot