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:51:41 +00:00
parent a0dce9be76
commit 9f2b453338
2 changed files with 7 additions and 0 deletions

View file

@ -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)]

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