<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.14.6</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.14.6</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.14.6'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2020-07-16T22:23:28Z</updated>
<entry>
<title>[release-branch.go1.14] go1.14.6</title>
<updated>2020-07-16T22:23:28Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2020-07-16T21:41:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=edfd6f28486017dcb136cd3f3ec252706d4b326e'/>
<id>urn:sha1:edfd6f28486017dcb136cd3f3ec252706d4b326e</id>
<content type='text'>
Change-Id: If9f503098056bd86b2bf51e3297b1bcecd8453bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/243138
Run-TryBot: Andrew Bonventre &lt;andybons@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] testing: capture testname on --- PASS and --- FAIL lines</title>
<updated>2020-07-16T18:22:52Z</updated>
<author>
<name>Jean de Klerk</name>
<email>deklerk@google.com</email>
</author>
<published>2020-06-01T18:19:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3445c3512b1db3915f0eaebaa4b4ee9b98d6966f'/>
<id>urn:sha1:3445c3512b1db3915f0eaebaa4b4ee9b98d6966f</id>
<content type='text'>
This fixes an issue raised at https://github.com/golang/go/issues/38458#issuecomment-635617670
in which --- PASS and --- FAIL lines would not trigger --- CONT lines
of other tests.

Updates #38458.
For #39308.

Change-Id: I0d8cc54d682a370d0a6ea6816a11b2e462a92efe
Reviewed-on: https://go-review.googlesource.com/c/go/+/235997
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/242058
Reviewed-by: Jean de Klerk &lt;deklerk@google.com&gt;
Reviewed-by: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] cmd/go: fix parallel chatty tests on solaris-amd64 builder</title>
<updated>2020-07-16T18:22:15Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2020-05-23T22:09:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4298b46e23c0b37d9ab32eaf109b15d55d66667e'/>
<id>urn:sha1:4298b46e23c0b37d9ab32eaf109b15d55d66667e</id>
<content type='text'>
The parallel chatty tests added in CL 229085 fail on the
solaris-amd64-oraclerel builder, because a +NN:NN offset time zone is
used. Allow for the `+` character in the corresponding regex to fix
these tests. Also move the '-' to the end of the character class, so it
is not interpreted as the range 9-T.

Updates #38458.
For #39308.

Change-Id: Iec9ae82ba45d2490176f274f0dc6812666eae718
Reviewed-on: https://go-review.googlesource.com/c/go/+/234978
Run-TryBot: Tobias Klauser &lt;tobias.klauser@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/242059
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] testing: reformat test chatty output</title>
<updated>2020-07-16T18:20:50Z</updated>
<author>
<name>Jean de Klerk</name>
<email>deklerk@google.com</email>
</author>
<published>2020-05-04T20:06:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2ba9d45f9cc033bfc584701f458a032aa04f89c5'/>
<id>urn:sha1:2ba9d45f9cc033bfc584701f458a032aa04f89c5</id>
<content type='text'>
In #24929, we decided to stream chatty test output. It looks like,

foo_test.go:138: TestFoo/sub-1: hello from subtest 1
foo_test.go:138: TestFoo/sub-2: hello from subtest 2

In this CL, we refactor the output to be grouped by === CONT lines, preserving
the old test-file-before-log-line behavior:

=== CONT TestFoo/sub-1
    foo_test.go:138 hello from subtest 1
=== CONT TestFoo/sub-2
    foo_test.go:138 hello from subtest 2

This should remove a layer of verbosity from tests, and make it easier to group
together related lines. It also returns to a more familiar format (the
pre-streaming format), whilst still preserving the streaming feature.

Updates #38458.
Fixes #39308.

Change-Id: Iaef94c580d69cdd541b2ef055aa004f50d72d078
Reviewed-on: https://go-review.googlesource.com/c/go/+/229085
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan C. Mills &lt;bcmills@google.com&gt;
Reviewed-by: Andrew Bonventre &lt;andybons@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/242057
Reviewed-by: Jean de Klerk &lt;deklerk@google.com&gt;
Reviewed-by: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Run-TryBot: Jean de Klerk &lt;deklerk@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] database/sql: backport 5 Tx rollback related CLs</title>
<updated>2020-07-16T00:35:30Z</updated>
<author>
<name>Emmanuel T Odeke</name>
<email>emmanuel@orijtech.com</email>
</author>
<published>2020-01-24T02:18:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=399ce807381f897d5ea7bdd3970017976d249738'/>
<id>urn:sha1:399ce807381f897d5ea7bdd3970017976d249738</id>
<content type='text'>
Manually backported the subject CLs, because of lack of
Gerrit "forge-author" permissions, but also because the prior
cherry picks didn't apply cleanly, due to a tight relation chain.

The backport comprises of:
* CL 174122
* CL 216197
* CL 223963
* CL 216240
* CL 216241

Note:
Due to the restrictions that we cannot retroactively
introduce API changes to Go1.14.6 that weren't in Go1.14, the Conn.Validator
interface (from CL 174122, CL 223963) isn't exposed, and drivers will just be
inspected, for if they have an IsValid() bool method implemented.

For a description of the content of each CL:

* CL 174122:
database/sql: process all Session Resets synchronously

Adds a new interface, driver.ConnectionValidator, to allow
drivers to signal they should not be used again,
separatly from the session resetter interface.
This is done now that the session reset is done
after the connection is put into the connection pool.

Previous behavior attempted to run Session Resets
in a background worker. This implementation had two
problems: untested performance gains for additional
complexity, and failures when the pool size
exceeded the connection reset channel buffer size.

* CL 216197:
database/sql: check conn expiry when returning to pool, not when handing it out

With the original connection reuse strategy, it was possible that
when a new connection was requested, the pool would wait for an
an existing connection to return for re-use in a full connection
pool, and then it would check if the returned connection was expired.
If the returned connection expired while awaiting re-use, it would
return an error to the location requestiong the new connection.
The existing call sites requesting a new connection was often the last
attempt at returning a connection for a query. This would then
result in a failed query.

This change ensures that we perform the expiry check right
before a connection is inserted back in to the connection pool
for while requesting a new connection. If requesting a new connection
it will no longer fail due to the connection expiring.

* CL 216240:
database/sql: prevent Tx statement from committing after rollback

It was possible for a Tx that was aborted for rollback
asynchronously to execute a query after the rollback had completed
on the database, which often would auto commit the query outside
of the transaction.

By W-locking the tx.closemu prior to issuing the rollback
connection it ensures any Tx query either fails or finishes
on the Tx, and never after the Tx has rolled back.

* CL 216241:
database/sql: on Tx rollback, retain connection if driver can reset session

Previously the Tx would drop the connection after rolling back from
a context cancel. Now if the driver can reset the session,
keep the connection.

* CL 223963
database/sql: add test for Conn.Validator interface

This addresses comments made by Russ after
https://golang.org/cl/174122 was merged. It addes a test
for the connection validator and renames the interface to just
"Validator".

Updates #31480
Updates #32530
Updates #32942
Updates #34775
Fixes #39101

Change-Id: I043d2d724a367588689fd7d6f3cecb39abeb042c
Reviewed-on: https://go-review.googlesource.com/c/go/+/242102
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Daniel Theophanes &lt;kardianos@gmail.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14] all: merge release-branch.go1.14-security into release-branch.go1.14</title>
<updated>2020-07-14T18:50:56Z</updated>
<author>
<name>Katie Hockman</name>
<email>katie@golang.org</email>
</author>
<published>2020-07-14T18:50:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bce174c435f531d429c36540f3a52dccb4426245'/>
<id>urn:sha1:bce174c435f531d429c36540f3a52dccb4426245</id>
<content type='text'>
Change-Id: Ia002311f7206f11a98929361f55eb2ab765b7d5c
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] go1.14.5</title>
<updated>2020-07-14T14:10:30Z</updated>
<author>
<name>Andrew Bonventre</name>
<email>andybons@golang.org</email>
</author>
<published>2020-07-14T13:28:45Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=36fcde1676a0d3863cb5f295eed6938cd782fcbb'/>
<id>urn:sha1:36fcde1676a0d3863cb5f295eed6938cd782fcbb</id>
<content type='text'>
Change-Id: Ic2fb9041f6610dd5ce54185e674ab4b62fabf3b5
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/794130
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] crypto/x509: respect VerifyOptions.KeyUsages on Windows</title>
<updated>2020-07-14T12:24:21Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2020-06-19T02:45:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9c0a6cec5b8413ae837e8eeb5743ea1de2d819fc'/>
<id>urn:sha1:9c0a6cec5b8413ae837e8eeb5743ea1de2d819fc</id>
<content type='text'>
When using the platform verifier on Windows (because Roots is nil) we
were always enforcing server auth EKUs if DNSName was set, and none
otherwise. If an application was setting KeyUsages, they were not being
respected.

Started correctly surfacing IncompatibleUsage errors from the system
verifier, as those are the ones applications will see if they are
affected by this change.

Also refactored verify_test.go to make it easier to add tests for this,
and replaced the EKULeaf chain with a new one that doesn't have a SHA-1
signature.

Thanks to Niall Newman for reporting this.

Fixes #39360
Fixes CVE-2020-14039

Change-Id: If5c00d615f2944f7d57007891aae1307f9571c32
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/774414
Reviewed-by: Katie Hockman &lt;katiehockman@google.com&gt;
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/793511
Reviewed-by: Filippo Valsorda &lt;valsorda@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.14-security] net/http: synchronize "100 Continue" write and Handler writes</title>
<updated>2020-07-13T20:58:01Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2020-07-13T17:27:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f3529ca9610be93ac4bb6fedc65429f7984227b6'/>
<id>urn:sha1:f3529ca9610be93ac4bb6fedc65429f7984227b6</id>
<content type='text'>
The expectContinueReader writes to the connection on the first
Request.Body read. Since a Handler might be doing a read in parallel or
before a write, expectContinueReader needs to synchronize with the
ResponseWriter, and abort if a response already went out.

The tests will land in a separate CL.

Fixes #34902
Fixes CVE-2020-15586

Change-Id: Icdd8dd539f45e8863762bd378194bb4741e875fc
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/793350
Reviewed-by: Filippo Valsorda &lt;valsorda@google.com&gt;
(cherry picked from commit b5e504f4a07c572744b228fa1b10e3989c4c44f3)
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/793500
</content>
</entry>
<entry>
<title>[release-branch.go1.14] net/http: fix panic with If-None-Match value in http.ServeContent</title>
<updated>2020-07-13T18:33:06Z</updated>
<author>
<name>Marcus Weiner</name>
<email>marcus.weiner@gmail.com</email>
</author>
<published>2020-06-24T15:24:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=de0e24171921e4437c73c2e789a8d4d48396aac0'/>
<id>urn:sha1:de0e24171921e4437c73c2e789a8d4d48396aac0</id>
<content type='text'>
Updates #39817.
Fixes #39920.

Change-Id: I79f2ad7c836a8a46569f603aca583fdd526d22dc
GitHub-Last-Rev: 5b88aada219aaa2af0c7e1969ed6fa646117d9da
GitHub-Pull-Request: golang/go#39821
Reviewed-on: https://go-review.googlesource.com/c/go/+/239699
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
(cherry picked from commit ce81a8f5e4f6c33036aa0777fabc47eeeab468dc)
Reviewed-on: https://go-review.googlesource.com/c/go/+/240343
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
Reviewed-by: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
</content>
</entry>
</feed>
