Commit 2ce3f13
reporters: add enhanced bounds checking in emitTimeline to prevent slice panic
- Add additional bounds validation (cursor <= len(gw) && end <= len(gw))
- Prevents slice bounds panic when timeline offsets are malformed
- Fixes issue with specs skipped in ordered containers that have zero EndTime1 parent acf208a commit 2ce3f13
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | 379 | | |
385 | 380 | | |
386 | 381 | | |
| |||
394 | 389 | | |
395 | 390 | | |
396 | 391 | | |
397 | | - | |
| 392 | + | |
398 | 393 | | |
399 | 394 | | |
400 | 395 | | |
| |||
0 commit comments