Commit 8d38122
gopls/internal/cache: reproduce and fix crash on if cond overflow
Through reverse engineering, I was able to reproduce the overflow of
golang/go#72026, and verify the fix of CL 653596.
Along the way, I incidentally reproduced golang/go#66766, which I think
we can safely ignore now that we understand it.
Updates golang/go#72026
Fixes golang/go#66766
Change-Id: I2131d771c13688c1ad47f6bc6285e524fb4c04a1
Reviewed-on: https://go-review.googlesource.com/c/tools/+/654336
Reviewed-by: Alan Donovan <[email protected]>
Auto-Submit: Robert Findley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent d81d6fc commit 8d38122
File tree
3 files changed
+25
-8
lines changed- gopls/internal
- cache
- parsego
- test/integration/completion
3 files changed
+25
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
2008 | | - | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
2009 | 2011 | | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
2014 | | - | |
2015 | | - | |
2016 | | - | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
2017 | 2016 | | |
2018 | 2017 | | |
2019 | 2018 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
535 | 536 | | |
536 | 537 | | |
537 | 538 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments