]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: update a uclibc specific patch to avoid segment fault error ChenQi/systemd-uclibc-alloca
authorChen Qi <Qi.Chen@windriver.com>
Wed, 4 Jun 2014 05:37:55 +0000 (01:37 -0400)
committerChen Qi <Qi.Chen@windriver.com>
Wed, 4 Jun 2014 05:58:53 +0000 (13:58 +0800)
commitd195d6b6ea5c6262b2def2d67513a55c3e9c80ff
tree4af9f966fdd4f0dfbba79c26546226452f664ef7
parentf8125a1e9b6893a12355d55d4df584a8d97f0bff
systemd: update a uclibc specific patch to avoid segment fault error

The alloca() function allocates space in the stack frame of the caller,
so using alloca(new_size - old_size) would possibly crash the stack,
causing a segment fault error.

This patch fixes the above problem by avoiding using this function in
journal-file.c.

[YOCTO #6201]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/systemd/systemd/systemd-pam-fix-fallocate.patch