mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
3a9eb02cfe4cde0373b309d67fe1fb83c68d7ec5
Shell globbing code could end up calling opendir on a whole command line with arguments, exceeding 8k characters - for example when libtool gets passed an -export-symbols-regex with a wildcard. Due to the length exceeding sandbox internal SB_PATH_MAX, it gets trimmed internally in sandbox syscall checks (even though opendir isn't an actual syscall), gets confused and throws an ISE abort. Fix it by adding a precheck that simply fails early with ENAMETOOLONG on too long paths, as the real glibc function would do the same. Fixes large projects hitting sandbox abort inside the driving POSIX shell globbing function due to a long list of linker arguments (such as many object files) being passed to libtool together with an -export-symbols-regex with a wildcard. Known affected packages include graphicsmagick and newer gnome-builder. p.masked for a short time as a maintainer timeout, seeking independent validation as a critical packages non-maintainer revbump. Gentoo-Bug: 553092 Package-Manager: portage-2.3.3 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Initial version of mcu8051ide ebuild. Closes bug #162020 (although with a diferent ebuild altogether.)
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%