Closed chu11 closed 3 months ago
re-pushed with the obvious fix
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.35%. Comparing base (
dd0f398
) to head (1577438
). Report is 499 commits behind head on master.
Problem: The job-exec barrier protocol does a streq() string comparison on the data returned from a subprocess's stdout. When subprocesses began to use the new UNBUF flag, this data became non-NUL terminated. The streq() therefore became unsafe to use.
Update code to check data length and use strncmp() instead of streq().
Fixes #6057