diff options
author | Bodo Möller <bodo@openssl.org> | 2011-12-02 12:51:41 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2011-12-02 12:51:41 +0000 |
commit | 9f2b453338dcbb94bc4ea4f8df27e156712b77c6 (patch) | |
tree | 68416e0566fc04742bfb2bdc5f6f979accc5658a | |
parent | a0dce9be76aecf3ff01b60cb46da6360abcc7201 (diff) |
Resolve a stack set-up race condition (if the list of compression
methods isn't presorted, it will be sorted on first read).
Submitted by: Adam Langley
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | ssl/ssl_ciph.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -245,6 +245,9 @@ Changes between 1.0.0e and 1.0.0f [xx XXX xxxx] + *) Fix ssl_ciph.c set-up race. + [Adam Langley (Google)] + *) Fix spurious failures in ecdsatest.c. [Emilia Käsper (Google)] @@ -1172,6 +1175,9 @@ Changes between 0.9.8r and 0.9.8s [xx XXX xxxx] + *) Fix ssl_ciph.c set-up race. + [Adam Langley (Google)] + *) Fix spurious failures in ecdsatest.c. [Emilia Käsper (Google)] diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index c03f029748..ac643c928c 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -470,6 +470,7 @@ static void load_builtin_compressions(void) sk_SSL_COMP_push(ssl_comp_methods,comp); } } + sk_SSL_COMP_sort(ssl_comp_methods); } MemCheck_on(); } |