mirror of
https://git.yoctoproject.org/poky
synced 2026-03-10 09:19:41 +01:00
The patch in question is patching the code to use qsort() instead of qsort_r(), without adopting the compare function. This is a major issue, because the compare function as written is evaluating / accessing a third argument, which is not passed with this OE patch, causing access to random memory. Given this patch was added so as to support (old) linux (host) distros which might not provide qsort_r(), according to the git history, and given these days util-linux detects availability of qsort_r() during configure phase, and given musl builds (which doesn't provide qsort_r() either) work without problem, the right solution is to simply drop this invalid patch. Do so. (From OE-Core rev: a85f93b4265a20b269085d12326e32915c561e62) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
751 B
BlitzBasic
23 lines
751 B
BlitzBasic
require util-linux.inc
|
|
|
|
SRC_URI += "file://configure-sbindir.patch \
|
|
file://runuser.pamd \
|
|
file://runuser-l.pamd \
|
|
file://ptest.patch \
|
|
file://run-ptest \
|
|
file://display_testname_for_subtest.patch \
|
|
file://avoid_parallel_tests.patch \
|
|
file://check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch \
|
|
"
|
|
SRC_URI[md5sum] = "9e5b1b8c1dc99455bdb6b462cf9436d9"
|
|
SRC_URI[sha256sum] = "86e6707a379c7ff5489c218cfaf1e3464b0b95acf7817db0bc5f179e356a67b2"
|
|
|
|
CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
|
|
|
|
EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
|
|
--disable-use-tty-group \
|
|
"
|
|
EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
|
|
--disable-use-tty-group \
|
|
"
|