Commit 455db21
gopls/internal/cache/parsego: fix OOB crash in fixInitStmt
This is a priori not how to use safetoken. I haven't attempted
to reproduce the crash.
Fixes golang/go#72026
Change-Id: I7a95383032f9a882c8b667203bbe0cf06f85a987
Reviewed-on: https://go-review.googlesource.com/c/tools/+/653596
Reviewed-by: Robert Findley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>1 parent 2b1f550 commit 455db21
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
0 commit comments