parse_jobid() keeps its signature but is now bounded and NULL-safe: a bare identity returns the exact ID, [k] the element ID, and a range, any rejected selection (5.7, 5.8, 5.14, 5.15) or a NULL argument returns -EINVAL with *jobid = 0. Fixes the strlen-before-NULL-check crash and the atoi overflow; regex parsing is gone. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||