kernel/src/gpt.c:127for (i = 0; i < nent && n < max; i++): once max used entries are read, the rest are neither listed nor range-checked. sk_v4_mint_zuse passes 4. A foreign disk whose StarshipOS partition is past the first max used entries reads as having none. Harmless for this system's own sticks (one or two partitions).
Done when
Every entry range-checked; a disk with more used entries than max reported, not silently cut
🤖 Filed with Claude Code -- the code review of 2026-11-11, at 4d42d25c (Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.
### Found
`kernel/src/gpt.c:127` `for (i = 0; i < nent && n < max; i++)`: once `max` used entries are read, the rest are neither listed nor range-checked. `sk_v4_mint_zuse` passes 4. A foreign disk whose StarshipOS partition is past the first `max` used entries reads as having none. Harmless for this system's own sticks (one or two partitions).
### Done when
- [ ] Every entry range-checked; a disk with more used entries than `max` reported, not silently cut
🤖 Filed with [Claude Code](https://claude.com/claude-code) -- the code review of 2026-11-11, at `4d42d25c` (Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found
kernel/src/gpt.c:127for (i = 0; i < nent && n < max; i++): oncemaxused entries are read, the rest are neither listed nor range-checked.sk_v4_mint_zusepasses 4. A foreign disk whose StarshipOS partition is past the firstmaxused entries reads as having none. Harmless for this system's own sticks (one or two partitions).Done when
maxreported, not silently cut🤖 Filed with Claude Code -- the code review of 2026-11-11, at
4d42d25c(Captain Bob, 2026-11-11: "File the review findings as issues"). Read, not run: each is to be confirmed by a test written first and seen to fail.