- Notifications
You must be signed in to change notification settings - Fork18.4k
Commitd72c550
committed
[release-branch.go1.1] runtime: fix heap corruption during GC
««« CL 9831043 / e84e7204b01bruntime: fix heap corruption during GCThe 'n' variable is used during rescan initiation in GC_END case,but it's overwritten with chan capacity in GC_CHAN case.As the result rescan is done with the wrong object size.Fixes#5554.R=golang-dev, khrCC=golang-devhttps://golang.org/cl/9831043»»»R=dvyukov, khr, daveCC=golang-devhttps://golang.org/cl/100280441 parent371a3ab commitd72c550
2 files changed
+32
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
623 | 623 |
| |
624 | 624 |
| |
625 | 625 |
| |
626 |
| - | |
| 626 | + | |
627 | 627 |
| |
628 | 628 |
| |
629 | 629 |
| |
| |||
1062 | 1062 |
| |
1063 | 1063 |
| |
1064 | 1064 |
| |
1065 |
| - | |
1066 |
| - | |
| 1065 | + | |
| 1066 | + | |
1067 | 1067 |
| |
1068 | 1068 |
| |
1069 | 1069 |
| |
1070 | 1070 |
| |
1071 |
| - | |
| 1071 | + | |
1072 | 1072 |
| |
1073 | 1073 |
| |
1074 | 1074 |
| |
|
0 commit comments
Comments
(0)