<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.8.7</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.8.7</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.8.7'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2018-02-07T15:33:09Z</updated>
<entry>
<title>[release-branch.go1.8] go1.8.7</title>
<updated>2018-02-07T15:33:09Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2018-02-07T14:23:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=357c9141369361101345f3048a6b2b3e149299d5'/>
<id>urn:sha1:357c9141369361101345f3048a6b2b3e149299d5</id>
<content type='text'>
Change-Id: Ida9b4f44033f33657dad213f65b0c85ad89b08a7
Reviewed-on: https://team-review.git.corp.google.com/213169
Reviewed-by: Andrew Bonventre &lt;andybons@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: document Go 1.8.7</title>
<updated>2018-02-07T15:33:05Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2018-02-07T14:22:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9574ce9cf6902560f4970eb3da7ae0632205ba80'/>
<id>urn:sha1:9574ce9cf6902560f4970eb3da7ae0632205ba80</id>
<content type='text'>
Change-Id: I7ea97312bdf489c2833b1823dd633eb55f3bcd72
Reviewed-on: https://team-review.git.corp.google.com/213168
Reviewed-by: Andrew Bonventre &lt;andybons@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] cmd/go: accept only limited compiler and linker flags in #cgo directives</title>
<updated>2018-02-07T14:16:33Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2018-02-06T04:12:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=44821583bc16ff2508664fab94360bb856e9e9d6'/>
<id>urn:sha1:44821583bc16ff2508664fab94360bb856e9e9d6</id>
<content type='text'>
Both gcc and clang accept an option -fplugin=code.so to load
a plugin from the ELF shared object file code.so.
Obviously that plugin can then do anything it wants
during the build. This is contrary to the goal of "go get"
never running untrusted code during the build.
(What happens if you choose to run the result of
the build is your responsibility.)

Disallow this behavior by only allowing a small set of
known command-line flags in #cgo CFLAGS directives
(and #cgo LDFLAGS, etc).

The new restrictions can be adjusted by the environment
variables CGO_CFLAGS_ALLOW, CGO_CFLAGS_DISALLOW,
and so on. See the documentation.

In addition to excluding cgo-defined flags, we also have to
make sure that when we pass file names on the command
line, they don't look like flags. So we now refuse to build
packages containing suspicious file names like -x.go.

A wrinkle in all this is that GNU binutils uniformly accept
@foo on the command line to mean "if the file foo exists,
then substitute its contents for @foo in the command line".
So we must also reject @x.go, flags and flag arguments
beginning with @, and so on.

Fixes #23674, CVE-2018-6574.

Change-Id: I59e7c1355155c335a5c5ae0d2cf8fa7aa313940a
Reviewed-on: https://team-review.git.corp.google.com/212688
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] go1.8.6</title>
<updated>2018-01-23T03:33:54Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2018-01-23T03:12:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=96c72e94687d1d78770a204f35993cb2cd3c91e4'/>
<id>urn:sha1:96c72e94687d1d78770a204f35993cb2cd3c91e4</id>
<content type='text'>
Change-Id: I0aeac01cb7a4329129351d3175f11a0a50b7466c
Reviewed-on: https://go-review.googlesource.com/89195
Run-TryBot: Andrew Bonventre &lt;andybons@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Andrew Bonventre &lt;andybons@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: document Go 1.8.6</title>
<updated>2018-01-23T03:27:44Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2018-01-23T02:01:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=89e6a4d6d0a0e89e6e3e2e387d8a45f0eafa751b'/>
<id>urn:sha1:89e6a4d6d0a0e89e6e3e2e387d8a45f0eafa751b</id>
<content type='text'>
Update golang/go#23515

Change-Id: Id334d8663bf4cbb68f224d1bba4c9ad3855f8aae
Reviewed-on: https://go-review.googlesource.com/89155
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/89157
Run-TryBot: Andrew Bonventre &lt;andybons@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Andrew Bonventre &lt;andybons@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] math/big: protect against aliasing in nat.divLarge</title>
<updated>2018-01-23T03:27:42Z</updated>
<author>
<name>Alberto Donizetti</name>
<email>alb.donizetti@gmail.com</email>
</author>
<published>2017-11-21T13:16:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a5a3be16366579f6701642f41f9146ce196cd617'/>
<id>urn:sha1:a5a3be16366579f6701642f41f9146ce196cd617</id>
<content type='text'>
In nat.divLarge (having signature (z nat).divLarge(u, uIn, v nat)),
we check whether z aliases uIn or v, but aliasing is currently not
checked for the u parameter.

Unfortunately, z and u aliasing each other can in some cases cause
errors in the computation.

The q return parameter (which will hold the result's quotient), is
unconditionally initialized as

    q = z.make(m + 1)

When cap(z) ≥ m+1, z.make() will reuse z's backing array, causing q
and z to share the same backing array. If then z aliases u, setting q
during the quotient computation will then corrupt u, which at that
point already holds computation state.

To fix this, we add an alias(z, u) check at the beginning of the
function, taking care of aliasing the same way we already do for uIn
and v.

Fixes #22830

Change-Id: I3ab81120d5af6db7772a062bb1dfc011de91f7ad
Reviewed-on: https://go-review.googlesource.com/78995
Run-TryBot: Alberto Donizetti &lt;alb.donizetti@gmail.com&gt;
Run-TryBot: Robert Griesemer &lt;gri@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Robert Griesemer &lt;gri@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/89156
Run-TryBot: Andrew Bonventre &lt;andybons@golang.org&gt;
Reviewed-by: Andrew Bonventre &lt;andybons@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: hide blog content for golang.google.cn</title>
<updated>2017-11-30T21:11:42Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2017-08-03T16:33:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=45a42c9be5d7f1a31d642ae7618ba9bef120ecc8'/>
<id>urn:sha1:45a42c9be5d7f1a31d642ae7618ba9bef120ecc8</id>
<content type='text'>
/blog redirects to blog.golang.org (currently blocked in China)
unless there is a local checkout of golang.org/x/blog, which is
not possible on App Engine Classic.

Change-Id: Ia695e663c9bebcc6c3bedea324c630299eaad4dc
Reviewed-on: https://go-review.googlesource.com/53051
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/81175
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: hide video and share if being served from CN</title>
<updated>2017-11-30T19:41:18Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2017-08-02T20:31:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6c733cd93b032a95dfff15430f8f6c4e107cfab3'/>
<id>urn:sha1:6c733cd93b032a95dfff15430f8f6c4e107cfab3</id>
<content type='text'>
In the case where requests are coming from mainland China, hide
links to locations that are blocked and functionality that is
not permitted.

Additionally, some very small cleanup of the JS.

This change requires https://go-review.googlesource.com/c/52873

Change-Id: I7fc68748e629dbe5b966d6bf117e7f7b546966eb
Reviewed-on: https://go-review.googlesource.com/52872
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/81095
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] go1.8.5</title>
<updated>2017-10-25T18:57:21Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2017-10-25T17:31:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d4ccbd8833aa45819e903abfc4337555f1832d3c'/>
<id>urn:sha1:d4ccbd8833aa45819e903abfc4337555f1832d3c</id>
<content type='text'>
Change-Id: I7c6cf169e84329a31d2d9dc4c52d5c29e80482c9
Reviewed-on: https://go-review.googlesource.com/71350
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.8] doc: document Go 1.8.5</title>
<updated>2017-10-25T18:57:19Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2017-10-25T14:53:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=79be6cb38901e7c4093aa2397870be41d9fad782'/>
<id>urn:sha1:79be6cb38901e7c4093aa2397870be41d9fad782</id>
<content type='text'>
Change-Id: I9241e6acb65c337b961eed9cdeaf4c041b6326a3
Reviewed-on: https://go-review.googlesource.com/73390
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/73392
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
