]> code.ossystems Code Review - openembedded-core.git/commit
systemd: update a uclibc specific patch to avoid segment fault
authorChen Qi <Qi.Chen@windriver.com>
Wed, 4 Jun 2014 09:47:08 +0000 (17:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jun 2014 16:10:34 +0000 (17:10 +0100)
commit96b6a2d446d28eabd9a943f5f2b5af12c24a7dbb
treef0417cd982a95d446c7e9e091cd9b8d084e245ad
parent414f9b4d2dd39845b537ebdc2a4ecafbd9162343
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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/systemd/systemd/systemd-pam-fix-fallocate.patch