Closed garlick closed 1 month ago
Thanks! I'll set MWP.
Attention: Patch coverage is 0%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 83.26%. Comparing base (
50f8dc2
) to head (df77f35
). Report is 2 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/common/libsubprocess/bulk-exec.c | 0.00% | 1 Missing :warning: |
Problem: garbage appears in the logs when the bulkexec imp-kill generates output.
Since bulk-exec always uses unbuffered reads for performance, the output buffers returned by
flux_subprocess_read()
are not guaranteed to be NULL terminated.Use
"%.*s"
instead of"%s"
in the log format string for:on_output()
handleron_output()
handlerFixes #6366