Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Issue 153373003: Fix of crash in e_rc4_hmac_md5.c caused by rc4-md5-x86_64.S. (Closed)

Created:
6 years, 10 months ago by haavardm
Modified:
6 years, 10 months ago
Reviewers:
agl, wtc, Ryan Sleevi
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/deps/openssl.git@master
Visibility:
Public.

Description

Set correct value for RC4_INT on x86_64 This caused caused crashes in the assembly versions of the rc4 algorithms, especially in rc4-md5-x86_64.S. Also take back in rc4-x86_64.S since it will now work. BUG=none

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix RC4_INT in opensslconf.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -15 lines) Patch
M config/x64/openssl/opensslconf.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M import_from_android.sh View 1 1 chunk +2 lines, -0 lines 0 comments Download
M openssl.gyp View 1 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
haavardm
Fixed a crash happening on https://microsoft.com (which uses the rc4 md5 combination) on 64 bit ...
6 years, 10 months ago (2014-02-04 16:10:51 UTC) #1
agl
RC4_INT being unsigned int is standard on 64-bit and I guess we have to pay ...
6 years, 10 months ago (2014-02-04 16:22:45 UTC) #2
haavardm
Yes, it would be more correct to fix it there. To be honest I set ...
6 years, 10 months ago (2014-02-04 16:28:12 UTC) #3
wtc
Håvard: thanks for the CL. I ran into this crash when I built Chromium on ...
6 years, 10 months ago (2014-02-04 18:20:19 UTC) #4
wtc
On 2014/02/04 16:28:12, Håvard Molland wrote: > Yes, it would be more correct to fix ...
6 years, 10 months ago (2014-02-04 23:15:58 UTC) #5
haavardm
Thanks for the tip wtc, I've applied your patch and adjusted openssl.gyp accordingly. I did ...
6 years, 10 months ago (2014-02-05 13:05:23 UTC) #6
haavardm
If I understand this correctly, opensslconf.h is per cpu, not per platform (as in OS). ...
6 years, 10 months ago (2014-02-05 13:28:58 UTC) #7
wtc
Patch set 2 LGTM. Please shorten or update the CL's description based on our new ...
6 years, 10 months ago (2014-02-05 17:46:51 UTC) #8
haavardm
On 2014/02/05 17:46:51, wtc wrote: > Patch set 2 LGTM. Please shorten or update the ...
6 years, 10 months ago (2014-02-06 16:03:30 UTC) #9
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 10 months ago (2014-02-06 16:09:47 UTC) #10
haavardm
The CQ bit was unchecked by haavardm@opera.com
6 years, 10 months ago (2014-02-06 16:09:49 UTC) #11
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 10 months ago (2014-02-06 16:09:50 UTC) #12
haavardm
The CQ bit was unchecked by haavardm@opera.com
6 years, 10 months ago (2014-02-06 16:09:52 UTC) #13
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 10 months ago (2014-02-06 16:10:28 UTC) #14
haavardm
The CQ bit was unchecked by haavardm@opera.com
6 years, 10 months ago (2014-02-07 09:15:30 UTC) #15
haavardm
The CQ bit was checked by haavardm@opera.com
6 years, 10 months ago (2014-02-07 09:24:33 UTC) #16
haavardm
On 2014/02/07 09:24:33, Håvard Molland wrote: > The CQ bit was checked by mailto:haavardm@opera.com wtc, ...
6 years, 10 months ago (2014-02-07 12:48:30 UTC) #17
agl
On 2014/02/07 12:48:30, Håvard Molland wrote: > wtc, > Nothing seems to happen here after ...
6 years, 10 months ago (2014-02-07 16:15:49 UTC) #18
haavardm
6 years, 10 months ago (2014-02-07 17:32:55 UTC) #19
On 2014/02/07 16:15:49, agl wrote:
> On 2014/02/07 12:48:30, Håvard Molland wrote:

> I've landed this change in the openssl DEPS repo in r249698. In
> https://codereview.chromium.org/144463007 I'm testing the DEPS update on the
> trybots.

That's great, Thanks.

> 
> The current third_party/openssl made sense when it was an Android thing, but
> since we're going to make it more primary we may wish to reevaluate it.
> Certainly the whole "patches of patches" is a complete nightmare.

Yes, that bit seemed a bit complicated. Also, it's seems a bit weird to 
convert the android opensslconf.h  into the desktop versions instead of 
regenerating it directly.

Powered by Google App Engine
This is Rietveld 408576698