You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f206dbf
Browse filesBrowse the repository at this point in the historyBrowse files
OWN003 double-release, OWN008 release-while-borrowed), the buffer/borrow model
13
19
in `spec/`, [P-001](P-001-csharp-extractor.md). See
@@ -39,7 +45,7 @@ The corpus already pins two real cases (`corpus/real-world/arraypool-double-retu
39
45
|**POOL002** view after return | a `Span`/`Memory` view used after the owner is `Return`ed |`OWN002`|
40
46
|**POOL003** double return |`Return` reachable twice for the same buffer |`OWN003`|
41
47
|**POOL004** view escapes | a borrowed `Span` returned/stored beyond the owner's lifetime |`OWN004`/`OWN008`|
42
-
|**POOL005** clear/copy past length |write/clear beyond the logical length of the rented region |(buffer-policy check) |
48
+
|**POOL005** clear/copy past length |a full-length view (`buf.AsSpan()`, no bound) reads/copies beyond the logical length of the rented region |`OWN025``[resource: pooled buffer]` ✅ (view in an expression or initializer; `Array.Clear(buf, 0, buf.Length)` next) |
0 commit comments