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

Issue 7051043: code review 7051043: runtime: always incorporate hash seed at start of hash ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by iant
Modified:
12 years, 2 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net, pmylund, rsc
Visibility:
Public.

Description

runtime: always incorporate hash seed at start of hash computation Otherwise we can get predictable collisions.

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -14 lines) Patch
M src/pkg/runtime/alg.c View 3 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/iface.c View 3 chunks +7 lines, -8 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 3 months ago (2013-01-03 21:45:38 UTC) #1
dave_cheney.net
On 2013/01/03 21:45:38, iant wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
12 years, 3 months ago (2013-01-04 04:55:40 UTC) #2
iant
On 2013/01/04 04:55:40, dfc wrote: > > Playing the devils advocate here -- can hash ...
12 years, 3 months ago (2013-01-04 05:53:42 UTC) #3
pmylund
> Playing the devils advocate here -- can hash collisions be > exploited in the ...
12 years, 3 months ago (2013-01-04 06:00:36 UTC) #4
pmylund
On 2013/01/04 05:53:42, iant wrote: > On 2013/01/04 04:55:40, dfc wrote: > > > > ...
12 years, 3 months ago (2013-01-04 06:05:02 UTC) #5
dave_cheney.net
> Some implementations mitigate by using a BST instead of a linked list > for ...
12 years, 3 months ago (2013-01-04 06:06:17 UTC) #6
pmylund
On 2013/01/04 06:06:17, dfc wrote: > > Some implementations mitigate by using a BST instead ...
12 years, 3 months ago (2013-01-04 06:21:08 UTC) #7
pmylund
I had forgotten about the subtable limit, sorry Ian. But yeah, somebody could DoS almost ...
12 years, 3 months ago (2013-01-04 06:51:02 UTC) #8
iant
On 2013/01/04 06:06:17, dfc wrote: > > So, what if we just stopped storing headers ...
12 years, 2 months ago (2013-01-04 14:07:53 UTC) #9
rsc
LGTM
12 years, 2 months ago (2013-01-04 15:16:40 UTC) #10
iant
12 years, 2 months ago (2013-01-04 15:53:50 UTC) #11
*** Submitted as https://code.google.com/p/go/source/detail?r=26a32c1225bf ***

runtime: always incorporate hash seed at start of hash computation

Otherwise we can get predictable collisions.

R=golang-dev, dave, patrick, rsc
CC=golang-dev
https://codereview.appspot.com/7051043
Sign in to reply to this message.

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