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
This commit is contained in:
Bodo Möller 2011-12-02 12:52:00 +00:00
parent ea8c77a55b
commit 19b0d0e75b
2 changed files with 7 additions and 0 deletions

View file

@ -487,6 +487,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)]
@ -1414,6 +1417,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)]

View file

@ -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();
}