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:50:44 +00:00
parent 72033fde7b
commit 740da44f20
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,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

@ -303,6 +303,7 @@ static void load_builtin_compressions(void)
sk_SSL_COMP_push(ssl_comp_methods,comp);
}
}
sk_SSL_COMP_sort(ssl_comp_methods);
}
MemCheck_on();
}