Repository navigation
Commit 9de7cbd
committed
fix(corpus): initialize pooled _meta before exposing its view (Codex review)
The view-into-field fixture rented `_meta` but never wrote its valid bytes, so
after.cs (the "clean fix" specificity half) still exposed 8 uninitialized pooled
bytes via FlushMeta — a latent stale read in a file meant to be genuinely correct.
Write `_meta[0.._metaLen)` (Fill) before caching the bounded view, mirroring the
`_buf`/Fill path, in both before.cs and after.cs so the "valid payload + stale
tail" story holds. No checker-behaviour change: before still raises OWN025 on both
full-length field stores, after stays silent (verified via own-check.sh --format
sarif). case.own is unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cg6DVXahkyY68Ruu7f76rG1 parent 2193d77 commit 9de7cbd
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments