Files
tor/changes
Nick Mathewson 1b551823de Avoid illegal read off end of an array in prune_v2_cipher_list
This function is supposed to construct a list of all the ciphers in
the "v2 link protocol cipher list" that are supported by Tor's
openssl.  It does this by invoking ssl23_get_cipher_by_char on each
two-byte ciphersuite ID to see which ones give a match.  But when
ssl23_get_cipher_by_char cannot find a match for a two-byte SSL3/TLS
ciphersuite ID, it checks to see whether it has a match for a
three-byte SSL2 ciphersuite ID.  This was causing a read off the end
of the 'cipherid' array.

This was probably harmless in practice, but we shouldn't be having
any uninitialized reads.

(Using ssl23_get_cipher_by_char in this way is a kludge, but then
again the entire existence of the v2 link protocol is kind of a
kludge.  Once Tor 0.2.2 clients are all gone, we can drop this code
entirely.)

Found by starlight. Fix on 0.2.4.8-alpha. Fixes bug 12227.
2014-07-24 19:45:38 -04:00
..
2013-10-09 09:43:54 -04:00
2014-02-11 18:57:38 -05:00
2013-03-26 20:29:41 -07:00
2013-03-26 22:18:32 -04:00
2013-03-29 12:17:05 -04:00
2013-02-08 16:46:50 -05:00
2013-03-11 12:34:14 -04:00
2013-02-19 15:02:08 -05:00
2013-03-19 17:00:40 -04:00
2013-04-03 09:32:21 -04:00
2013-04-24 22:03:02 -04:00
2013-02-27 19:39:57 -05:00
2013-03-28 09:33:24 -04:00
2013-06-12 21:11:49 -04:00
2013-07-03 12:01:37 -04:00
2013-08-21 11:29:19 -04:00
2014-02-07 10:38:00 -05:00
2013-10-02 22:20:18 -04:00
2013-10-08 12:06:06 -04:00
2013-11-11 10:49:44 -05:00
2013-12-22 17:19:22 -05:00
2013-12-23 19:00:46 -05:00
2014-02-06 16:09:12 -05:00
2014-02-14 23:51:14 -05:00
2014-02-17 23:06:18 +00:00
2014-04-08 11:42:07 -04:00
2014-06-10 21:08:44 -04:00
2013-03-10 23:38:18 -04:00
2013-10-08 16:06:36 -04:00