Logs
Patchset ps-173
fix(vxfw/list): check if index is out of bounds
Eric Bower
vxfw/surface_test.go
+37
-0
vxfw/vxfw.go
+3
-0
```
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
```
+37
-0
vxfw/surface_test.go
link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|
+3
-0
vxfw/vxfw.go
link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|