pi_stress: Bug fixes and improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pi_stress: Fix inconsistent barrier wait logic to prevent deadlocksrc/ | +10 | 0 replies | |
| 2/5 | pi_stress: Validate numeric command-line argumentssrc/ | +12 | 0 replies | |
| 3/5 | pi_stress: Improve error message for permission failuressrc/ | +2 | 0 replies | |
| 4/5 | pi_stress: Fix error and debug message formattingsrc/ | +3 | 0 replies | |
| 5/5 | pi_stress: Ensure null-termination of JSON filenamesrc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] pi_stress: Bug fixes and improvements
This series addresses several issues in pi_stress:
- Fixes a critical deadlock bug in error handling where inconsistent barrier wait logic could cause the program to hang
- Improves input validation to reject malformed numeric arguments
- Enhances error messages for better user experience
- Fixes cosmetic issues in debug/error output
- Ensures proper string null-termination
The first patch is the most important as it fixes a real deadlock scenario during error conditions.
John Kacur (5):
pi_stress: Fix inconsistent barrier wait logic to prevent deadlock
pi_stress: Validate numeric command-line arguments
pi_stress: Improve error message for permission failures
pi_stress: Fix error and debug message formatting
pi_stress: Ensure null-termination of JSON filename
src/pi_tests/pi_stress.c | 44 ++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 15 deletions(-)
Signature · 1 line
2.54.0