]> Cypherpunks repositories - gostls13.git/commit
runtime: fix heap memory corruption
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 24 Feb 2014 16:53:50 +0000 (20:53 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 24 Feb 2014 16:53:50 +0000 (20:53 +0400)
commitea8750175020f162a15c827225328f8ba9e1a118
treebc7179c9eb2df5bbf4b48e293e0cb7ab77812e7f
parent6e612ae0f5b527660f0e1ae497d0ad8fbb6953c2
runtime: fix heap memory corruption
With concurrent sweeping finc if modified by runfinq and queuefinalizer concurrently.
Fixes crashes like this one:
http://build.golang.org/log/6ad7b59ef2e93e3c9347eabfb4c4bd66df58fd5a
Fixes #7324.
Update #7396

LGTM=rsc
R=golang-codereviews, minux.ma, rsc
CC=golang-codereviews, khr
https://golang.org/cl/67980043
src/pkg/runtime/mgc0.c