<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.14.14</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.14.14</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.14.14'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2021-01-19T19:47:38Z</updated>
<entry>
<title>[release-branch.go1.14-security] go1.14.14</title>
<updated>2021-01-19T19:47:38Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2021-01-19T18:37:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ccb4f250bd7e382e50824c36ec5a3e1a57dcf11a'/>
<id>urn:sha1:ccb4f250bd7e382e50824c36ec5a3e1a57dcf11a</id>
<content type='text'>
Change-Id: Id4260bbb5aa55b7e93c0c4686f174ea7916c14db
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/957919
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] cmd/go: overwrite program name with full path</title>
<updated>2021-01-19T18:35:10Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>roland@golang.org</email>
</author>
<published>2021-01-19T17:59:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=05822ab49228c3351af1973a7d6345e5cd01083a'/>
<id>urn:sha1:05822ab49228c3351af1973a7d6345e5cd01083a</id>
<content type='text'>
If the program path is resolved, replace the first argument of the
exec.Cmd, which is the bare program name with the resolved path.

Change-Id: I92cf5e6f4bb7c8fef9b59f5eab963f4e75b90d07
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/957908
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
(cherry picked from commit a863cb56b33a24aad88f23f1d48629dc4b4b9539)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/958253
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] all: introduce and use internal/execabs</title>
<updated>2021-01-16T01:44:08Z</updated>
<author>
<name>Roland Shoemaker</name>
<email>roland@golang.org</email>
</author>
<published>2021-01-15T20:14:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=94200a92cf4d6dfdab5291f9e29785cad566faa0'/>
<id>urn:sha1:94200a92cf4d6dfdab5291f9e29785cad566faa0</id>
<content type='text'>
Introduces a wrapper around os/exec, internal/execabs, for use in
all commands. This wrapper prevents exec.LookPath and exec.Command from
running executables in the current directory.

All imports of os/exec in non-test files in cmd/ are replaced with
imports of internal/execabs.

This issue was reported by RyotaK.

Fixes CVE-2021-3115

Change-Id: I0423451a6e27ec1e1d6f3fe929ab1ef69145c08f
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955304
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
(cherry picked from commit 44f09a6990ccf4db601cbf8208c89ac4e888f884)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955309
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] cmd/go: add test case for cgo CC setting</title>
<updated>2021-01-16T01:43:57Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-11T14:43:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bd04382057fcfadd78ccc80684ab4c942d1adf9a'/>
<id>urn:sha1:bd04382057fcfadd78ccc80684ab4c942d1adf9a</id>
<content type='text'>
Change-Id: Ied986053a64447c5eac6369f6c9b69ed3d3f94d9
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/949415
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
(cherry picked from commit e97d4ed8dcc1fed64fe44b56dfdfb0f929aabb65)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955298
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] cmd/cgo: report exec errors a bit more clearly</title>
<updated>2021-01-16T00:41:12Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-11T15:01:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4bf9990a6bc8d7c44650f7f061639a2507104366'/>
<id>urn:sha1:4bf9990a6bc8d7c44650f7f061639a2507104366</id>
<content type='text'>
Change-Id: I0e6bebf0e2e6efdef4be880e0c6c7451b938924b
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/949417
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
(cherry picked from commit 4c2e5f85dda6ad5cc1d5be863ae62f2050f12be9)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955296
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] cmd/go: pass resolved CC, GCCGO to cgo</title>
<updated>2021-01-16T00:41:07Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-11T14:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e749a96e717718e3ac881a75f805776370302a86'/>
<id>urn:sha1:e749a96e717718e3ac881a75f805776370302a86</id>
<content type='text'>
This makes sure the go command and cgo agree about
exactly which compiler is being used.

This issue was reported by RyotaK.

Fixes CVE-2021-3115.

Change-Id: If171c5c8b2523efb5ea2d957e5ad1380a038149c
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/949416
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
(cherry picked from commit 4cf399ca38587a6e4a3e85b494cd9a9b4cc53378)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955294
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] crypto/elliptic: fix P-224 field reduction</title>
<updated>2021-01-16T00:41:02Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2021-01-08T02:56:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7490c2547ec57448be2c74bb91d441083edc583d'/>
<id>urn:sha1:7490c2547ec57448be2c74bb91d441083edc583d</id>
<content type='text'>
This patch fixes two independent bugs in p224Contract, the function that
performs the final complete reduction in the P-224 field. Incorrect
outputs due to these bugs were observable from a high-level
P224().ScalarMult() call.

The first bug was in the calculation of out3GT. That mask was supposed
to be all ones if the third limb of the value is greater than the third
limb of P (out[3] &gt; 0xffff000). Instead, it was also set if they are
equal. That meant that if the third limb was equal, the value was always
considered greater than or equal to P, even when the three bottom limbs
were all zero. There is exactly one affected value, P - 1, which would
trigger the subtraction by P even if it's lower than P already.

The second bug was more easily hit, and is the one that caused the known
high-level incorrect output: after the conditional subtraction by P, a
potential underflow of the lowest limb was not handled. Any values that
trigger the subtraction by P (values between P and 2^224-1, and P - 1
due to the bug above) but have a zero lowest limb would produce invalid
outputs. Those conditions apply to the intermediate representation
before the subtraction, so they are hard to trace to precise inputs.

This patch also adds a test suite for the P-224 field arithmetic,
including a custom fuzzer that automatically explores potential edge
cases by combining limb values that have various meanings in the code.
contractMatchesBigInt in TestP224Contract finds the second bug in less
than a second without being tailored to it, and could eventually find
the first one too by combining 0, (1 &lt;&lt; 28) - 1, and the difference of
(1 &lt;&lt; 28) and (1 &lt;&lt; 12).

The incorrect P224().ScalarMult() output was found by the
elliptic-curve-differential-fuzzer project running on OSS-Fuzz and
reported by Philippe Antoine (Catena cyber).

Fixes CVE-2021-3114

Change-Id: I50176602d544de3da854270d66a293bcaca57ad7
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/947792
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
(cherry picked from commit 5fa534e9c7eaeaf875e53b98eac9342b0855b283)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/955313
</content>
</entry>
<entry>
<title>[release-branch.go1.14] go1.14.13</title>
<updated>2020-12-03T17:27:26Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2020-12-03T16:09:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6eed7d361d276b69a1cfdeeb7690237a6385b073'/>
<id>urn:sha1:6eed7d361d276b69a1cfdeeb7690237a6385b073</id>
<content type='text'>
Change-Id: Ifdfd9cd7edb8c3afd785cf75e818e3d301cd8dae
Reviewed-on: https://go-review.googlesource.com/c/go/+/275133
Run-TryBot: Carlos Amedee &lt;carlos@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Trust: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] cmd/compile: sign extend constant folding properly</title>
<updated>2020-12-03T13:58:36Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2020-11-20T22:02:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=679482fc602445b9b2d37739e7b048e2d4913646'/>
<id>urn:sha1:679482fc602445b9b2d37739e7b048e2d4913646</id>
<content type='text'>
MOVLconst must have a properly sign-extended auxint constant.
The bit operations in these rules don't enforce that invariant.

Fixes #42755

Change-Id: I729afcad18752d9b7739e49709020e3be7b3653e
Reviewed-on: https://go-review.googlesource.com/c/go/+/272030
Trust: Keith Randall &lt;khr@golang.org&gt;
Run-TryBot: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] runtime: block signals in needm before allocating M</title>
<updated>2020-11-20T20:38:22Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2020-10-27T23:09:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9e27a089d644950cba52108f6634badc5880c6e0'/>
<id>urn:sha1:9e27a089d644950cba52108f6634badc5880c6e0</id>
<content type='text'>
Otherwise, if a signal occurs just after we allocated the M,
we can deadlock if the signal handler needs to allocate an M
itself.

For #42207
Fixes #42635

Change-Id: I76f44547f419e8b1c14cbf49bf602c6e645d8c14
Reviewed-on: https://go-review.googlesource.com/c/go/+/265759
Trust: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 368c40116434532dc0b53b72fa04788ca6742898)
Reviewed-on: https://go-review.googlesource.com/c/go/+/271848
</content>
</entry>
</feed>
