提交 19b0d0e7 编写于 作者: B Bodo Möller

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
上级 ea8c77a5
...@@ -487,6 +487,9 @@ ...@@ -487,6 +487,9 @@
Changes between 1.0.0e and 1.0.0f [xx XXX xxxx] 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. *) Fix spurious failures in ecdsatest.c.
[Emilia Käsper (Google)] [Emilia Käsper (Google)]
...@@ -1414,6 +1417,9 @@ ...@@ -1414,6 +1417,9 @@
Changes between 0.9.8r and 0.9.8s [xx XXX xxxx] 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. *) Fix spurious failures in ecdsatest.c.
[Emilia Käsper (Google)] [Emilia Käsper (Google)]
......
...@@ -470,6 +470,7 @@ static void load_builtin_compressions(void) ...@@ -470,6 +470,7 @@ static void load_builtin_compressions(void)
sk_SSL_COMP_push(ssl_comp_methods,comp); sk_SSL_COMP_push(ssl_comp_methods,comp);
} }
} }
sk_SSL_COMP_sort(ssl_comp_methods);
} }
MemCheck_on(); MemCheck_on();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册