commit | bc4b7f08ba575cca2e7101d93b365a3a942645e5 | [log] [download] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Sat Sep 07 15:04:26 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun Sep 08 20:07:48 2013 +0200 |
tree | 794465cebd9e27afbaaab84449b80214b067b332 | |
parent | 055ef6165840c7d6c4a57c2614339f5382d58d70 [diff] |
Fix possible race in ssl_list_ciphersuites() Thread A: executing for loop of ssl_list_ciphersuites() Thread B: call ssl_list_cipher_suites(), see init == 0 Thread A: return, start using the result Thread B: memset(0) on the list used by thread A