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

Issue 57833003: Fix lhash implementation to avoid unwanted resizes during iteration. (Closed)

Created:
7 years, 1 month ago by digit1
Modified:
7 years, 1 month ago
Base URL:
https://chromium.googlesource.com/chromium/deps/openssl@master
Visibility:
Public.

Description

Fix lhash implementation to avoid unwanted resizes during iteration. This is a port of the following AOSP patch: https://android-review.googlesource.com/#/c/68853/ It fixes a bug that happens when trying to delete items from a lhash table while it is being iterated over with a call to lh_doall or lh_doall_arg. It looks like the source tree is slightly out-of-sync from the state of running ./import_from_android.sh, but the differences are minor / not significant. This patch tries to fix a P1 bug, so doesn't try to address this (the differences have been removed for easier reviewing). BUG=298606 R=agl@chromium.org,rsleevi@chromium.org,wtc@chromium.org TBR=darin@chromium.org

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update to latest upstream version of the patch + update README.Chromium #

Unified diffs Side-by-side diffs Delta from patch set Stats (+761 lines, -20 lines) Patch
M README.chromium View 1 1 chunk +5 lines, -0 lines 0 comments Download
M openssl/crypto/conf/conf_api.c View 1 chunk +0 lines, -3 lines 0 comments Download
M openssl/crypto/lhash/lhash.h View 1 chunk +1 line, -0 lines 0 comments Download
M openssl/crypto/lhash/lhash.c View 1 8 chunks +132 lines, -7 lines 0 comments Download
M openssl/crypto/objects/o_names.c View 2 chunks +0 lines, -6 lines 0 comments Download
M openssl/crypto/objects/obj_dat.c View 1 chunk +0 lines, -1 line 0 comments Download
M openssl/include/openssl/lhash.h View 1 chunk +1 line, -0 lines 0 comments Download
M openssl/openssl.config View 1 2 chunks +11 lines, -0 lines 0 comments Download
A openssl/patches/fix_lhash_iteration.patch View 1 1 chunk +291 lines, -0 lines 0 comments Download
M openssl/ssl/ssl_sess.c View 1 chunk +0 lines, -3 lines 0 comments Download
A patches.chromium/0006-fix_lhash_iteration.patch View 1 1 chunk +320 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
digit1
7 years, 1 month ago (2013-11-04 17:21:42 UTC) #1
digit1
I'll soon update this to the latest version of the upstream patch. However, I'd like ...
7 years, 1 month ago (2013-11-04 17:23:06 UTC) #2
agl
LGTM. What are the unrelated changes to the source tree? (I thought that I had ...
7 years, 1 month ago (2013-11-04 17:29:30 UTC) #3
Ryan Sleevi
LGTM. Just TBR= darin. Like agl said, what's the diff, so that we can keep ...
7 years, 1 month ago (2013-11-04 19:46:04 UTC) #4
digit1
On my machine, if I run import_from_android.sh, I notice the following changes in the current ...
7 years, 1 month ago (2013-11-05 10:12:28 UTC) #5
digit1
darin@chromium.org: Please review changes in ben@chromium.org: Please review changes in
7 years, 1 month ago (2013-11-05 10:15:02 UTC) #6
digit1
Looks like I can't push it, "git cl push" complains with: fatal: remote error: Git ...
7 years, 1 month ago (2013-11-05 10:16:05 UTC) #7
digit1
I've re-uploaded this patch through a svn server at https://codereview.chromium.org/59793002/, please take a look. Thanks.
7 years, 1 month ago (2013-11-05 12:46:32 UTC) #8
darin (slow to review)
LGTM (rubber stamp, deferring to agl+rsleevi+wtc)
7 years, 1 month ago (2013-11-05 17:11:12 UTC) #9
digit1
On 2013/11/05 17:11:12, darin wrote: > LGTM (rubber stamp, deferring to agl+rsleevi+wtc) Thanks Darin, can ...
7 years, 1 month ago (2013-11-05 17:21:16 UTC) #10
digit1
7 years, 1 month ago (2013-11-05 17:31:05 UTC) #11
Thank you, I'm closing this issue since the other patch has been submitted.

Powered by Google App Engine
This is Rietveld 408576698