]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: update a uclibc specific patch to avoid segment fault ChenQi/daisy-systemd-uclibc-alloca
authorChen Qi <Qi.Chen@windriver.com>
Tue, 3 Jun 2014 07:09:59 +0000 (03:09 -0400)
committerChen Qi <Qi.Chen@windriver.com>
Wed, 4 Jun 2014 07:57:41 +0000 (15:57 +0800)
commit1f680a5c51cb52ac7fb0509c79b8eb4bf5c8f41a
treea9a963b63fb634dd24f0b4ea8ff7f98f5c3c4ef2
parentaf347d3298e15552d502d5b2ce497bbda9705bc7
systemd: update a uclibc specific patch to avoid segment fault

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