Commit 8f3f62b
fix: add vtxundo size validation in SpentIndex::WriteBlock
Match the same defensive check that AddressIndex::WriteBlock performs,
preventing potential out-of-bounds access on block.vtx if undo data is
inconsistent.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 97dcc6d commit 8f3f62b
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
0 commit comments