Description[release-branch.go1.1] runtime: fix heap corruption during GC
««« CL 9831043 / e84e7204b01b
runtime: fix heap corruption during GC
The '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 issue 5554.
R=golang-dev, khr
CC=golang-dev
https://codereview.appspot.com/9831043
»»»
Patch Set 1 #Patch Set 2 : diff -r 7d8b2bbe53e5 https://code.google.com/p/go #Patch Set 3 : diff -r 7d8b2bbe53e5 https://code.google.com/p/go #
MessagesTotal messages: 4
|