]> code.ossystems Code Review - openembedded-core.git/commit
inetutils: Fix abort on invalid files
authorRicardo Ribalda Delgado <ricardo@ribalda.com>
Wed, 7 Aug 2019 07:17:44 +0000 (09:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Aug 2019 18:38:34 +0000 (19:38 +0100)
commit0c3a1251a8aec86f3e877130f926a928e5ca2030
tree5cda078b250d99dae38f8d6d717e70bb2c260b2c
parent466bc8f05eac59a58575fd10518ee7de44ba50d1
inetutils: Fix abort on invalid files

When the code is compiled with  "-fstack-protector-strong
-D_FORTIFY_SOURCE=2", everytime ftpfd is asked for a non existent file,
it crashes with the following error:

*** buffer overflow detected ***:
Aborted

This seems to be a bug/feature of gcc. A bug has been open on their
bugzilla, and also inetutils have been posted with the proposed patch.

Without this patch, pxelinux fails to boot because it keeps asking the
server for the pxelinux.cfg/00-01-02-03-04 and never jumps to /default.

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/inetutils/inetutils/fix-buffer-fortify-tfpt.patch [new file with mode: 0644]
meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb