Commit d1076c5
address Greptile review on PR #45
- optimizer.run: validate self.max_proposals >= 0 before the proposal_limit
guard, so the specific 'must be non-negative' error is reachable (was a
dead branch that always tripped the generic message first).
- compiler._safe_extract_tar: extractall(filter='data') to strip device
files / setuid bits and neutralize unsafe links, matching
extract_harbor_session_archive (also silences the py3.14 deprecation).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b069cb1 commit d1076c5
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
421 | 426 | | |
422 | | - | |
423 | | - | |
424 | 427 | | |
425 | 428 | | |
426 | 429 | | |
| |||
0 commit comments