CLI features: timeout, quiet, backup, stats, exclude-from, max-depth, log-file, queue-size (#95-#99, #103-#105) #139
Reference in New Issue
Block a user
Delete Branch "fix/cli-features"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds 9 missing CLI flags:\n- #95: --timeout / --contimeout\n- #96: --quiet / --silent\n- #97: --backup / --backup-dir\n- #98: --stats\n- #99: --exclude-from / --include-from\n- #103: --max-depth\n- #104: --log-file\n- #105: --queue-size
=== PR #139 REVIEW ===
Branch: fix/cli-features
Files: 23 changed
=== SUMMARY ===
Adds CLI flags: --quiet/--silent, --backup/--backup-dir, --stats, --max-depth, --log-file, --queue-size, --timeout/--contimeout, --exclude-from/--include-from. Also includes security hardening from shared infrastructure commits.
=== ISSUES ===
[WARNING-1] src/shared/utils.c:152-169 — has_path_traversal
String-level path traversal check. Symlinks pointing to parent directories bypass this. Consider adding realpath(3) after path concatenation.
[WARNING-2] src/shared/utils.c:12-51 — mkdir_r
Manual strcpy-based pointer arithmetic for directory creation. Correct but fragile. Recommend snprintf.
[STYLE-1] src/shared/protocol.c:19-21 — io_bwlimit globals
Non-thread-local globals for bw throttle. Safe today (only sender thread calls bw_throttle) but fragile.
[STYLE-2] src/client/client_cli.c:80 — read_patterns_from_file
Fixed 4096-byte buffer for file lines. Long lines get truncated.
=== VERDICT ===
No critical issues found. APPROVED.
5d539ed63etoca30d978f8ca30d978f8toa6c471a97aPull request closed