| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
And its caller ignore the error.
|
|
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11605.
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11603.
|
|
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11587.
We had a sample which was large enough that write(2) failed to push all the
data into the pipe, and an assert failed. The code could be changed to use
a loop, but then we'd need to interleave writes and sd_event_run (to process
the journal). I don't think the complexity is worth it — fuzzing works best
if the sample is not too huge anyway. So let's just reject samples above 64k,
and tell oss-fuzz about this limit.
|
|
|
|
sequence
This is untested, but I don't see how the previous code could have worked
for multibyte characters (with echo on).
|
|
character
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9341.
|
|
character
|
|
When there are multiple ExecStop= statements, the next command would continue
to run even after TimeoutStopSec= is up and sends SIGTERM. This is because,
unless Type= is oneshot, the exit code/status would evaluate to SERVICE_SUCCESS
in service_sigchld_event()'s call to is_clean_exit(). This success indicates
following commands would continue running until the end of the list
is reached, or another timeout is hit and SIGKILL is sent.
Since long running processes should not be invoked in non-SERVICE_EXEC_START
commands, consider them for EXIT_CLEAN_COMMAND instead of EXIT_CLEAN_DAEMON.
Passing EXIT_CLEAN_COMMAND to is_clean_exit() evaluates the SIGTERM exit
code/status to failure and will stop execution after the first timeout is hit.
Fixes #11431
|