Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4996)

Issue 62190043: code review 62190043: crypto/subtle: panic if slices of different lengths are... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by agl1
Modified:
10 years, 2 months ago
Reviewers:
hanwen-google, bradfitz
CC:
golang-codereviews, hanwen-google, bradfitz
Visibility:
Public.

Description

crypto/subtle: panic if slices of different lengths are passed to ConstantTimeCompare. ConstantTimeCompare has always been documented to take equal length slices but perhaps this is too subtle, even for 'subtle'. Fixes issue 7304.

Patch Set 1 #

Patch Set 2 : diff -r 18ecaf7688b2 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 18ecaf7688b2 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 18ecaf7688b2 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/crypto/subtle/constant_time.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4
agl1
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
10 years, 2 months ago (2014-02-12 16:23:30 UTC) #1
hanwen-google
On 2014/02/12 16:23:30, agl1 wrote: > Hello mailto:golang-codereviews@googlegroups.com, > > I'd like you to review ...
10 years, 2 months ago (2014-02-12 16:24:35 UTC) #2
bradfitz
LGTM On Feb 12, 2014 8:23 AM, <agl@golang.org> wrote: > Reviewers: golang-codereviews, > > Message: ...
10 years, 2 months ago (2014-02-12 16:25:54 UTC) #3
agl1
10 years, 2 months ago (2014-02-12 16:59:21 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=1e97bf2e0f93 ***

crypto/subtle: panic if slices of different lengths are passed to
ConstantTimeCompare.

ConstantTimeCompare has always been documented to take equal length
slices but perhaps this is too subtle, even for 'subtle'.

Fixes issue 7304.

LGTM=hanwen, bradfitz
R=golang-codereviews, hanwen, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/62190043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b