aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/rb3str.c
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-04 00:59:05 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-04 00:59:05 +0200
commitecd1b0d916bbbe002af9624f152c062a891e4633 (patch)
treeeaa03733fd63dca46e20a3ce4ac5c1023c4be32f /src/rb3str.c
parent5ef8d4c32df083b8da0d40ed3cf3e2840245f05b (diff)
FreeBSD: fixed crashes with `EC` or `EQq`HEADmaster-fmsbw-cimaster
* GSpawn ends up calling posix_spawnp() which passes down a small 4kb stack to the child process until it exec()s. This stack could be overflowed easily on code paths where the path is not already absolute and when many shared libraries are involved. * The crashes could therefore only be observed on Gtk builds and in UNIX shell emulation mode (0,128ED). Sample test case: gsciteco -e '0,128ED @EC"ls"' Theoretically a relative $SHELL variable could have also triggered it. * I assume that the bug will be fixed in libc at least by the time of FreeBSD 16. * As a workaround we resolve relative program paths before passing them to g_spawn_async_with_pipes().
Diffstat (limited to 'src/rb3str.c')
0 files changed, 0 insertions, 0 deletions