diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-03-21 10:00:49 -0400 |
---|---|---|
committer | Patrick Luby <guibomacdev@gmail.com> | 2024-03-21 20:42:53 +0100 |
commit | 3c6c5ef5d1c4f555b465bf56cf9d99e4d67224cc (patch) | |
tree | 829a1d43ddde57d43c6b1908df657e7f2027a535 /sw/inc | |
parent | de148aa512e02457e43c6db966472a37059fbb14 (diff) |
tdf#152524 fix crash by skipping second fork()
Instead of calling a second fork() in the child process, replace
execv() with posix_spawn(). posix_spawn() does not call any atfork
handlers so the atfork handler that crashes will be skipped.
Change-Id: Iffb70fe4f51b6b324f13e4ac24b740da0a25da99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165103
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Diffstat (limited to 'sw/inc')
0 files changed, 0 insertions, 0 deletions