dashboard / erock/vaxis / fix(vxfw/list): check if index is out of bounds #95 rss

open · opened on 2025-12-16T16:06:41Z by erock
Help
checkout latest patchset:
ssh pr.pico.sh print pr-95 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print ps-X | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 95
add review to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add --review 95
accept PR:
ssh pr.pico.sh pr accept 95
close PR:
ssh pr.pico.sh pr close 95

Logs

erock created pr with ps-172 on 2025-12-16T16:06:41Z
erock added ps-173 on 2025-12-16T16:07:53Z

Patchsets

ps-172 by erock on 2025-12-16T16:06:41Z
Range Diff ↕ rd-173
1: 37f44c1 ! 1: 7a2f7ff fix(vxfw/list): check if index is out of bounds
ps-173 by erock on 2025-12-16T16:07:53Z

Range-diff rd-173

title
fix(vxfw/list): check if index is out of bounds
description
Patch changed
old #1
37f44c1
new #1
7a2f7ff
Back to top
1: 37f44c1 ! 1: 7a2f7ff fix(vxfw/list): check if index is out of bounds
message changed
- 
+ ```
panic: runtime error: index out of range [64976] with length 64792

goroutine 53 [running]:
git.sr.ht/~rockorager/vaxis/vxfw.(*Surface).WriteCell(...)
     /go/pkg/mod/git.sr.ht/~rockorager/vaxis@v0.14.1-0.20250527151737-5530f9f4bcf6/vxfw/vxfw.go:158
git.sr.ht/~rockorager/vaxis/vxfw/list.(*Dynamic).Draw(0x40005c9f08, {{0xb?, 0x0?}, {0x0?, 0x0?}, 0x40000309a0?})
     /go/pkg/mod/git.sr.ht/~rockorager/vaxis@v0.14.1-0.20250527151737-5530f9f4bcf6/vxfw/list/list.go:210 +0xca8
```