diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-14 21:24:24 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-14 21:24:24 +0000 |
commit | 4a92ec469a9d0ad1e7a2917670f76434a217bd35 (patch) | |
tree | 307557a060e309429419bb55e94432fd8dbb3fb5 /epan/dissectors/packet-ssl-utils.c | |
parent | b51b4eea4a875df868eee596f02009aaacdb673d (diff) |
Fix for bug 4008:
Crash on TLSv1.2 packets, caused by ssl_short_name array overrun.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29906 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c index a0781e4794..15a5add08b 100644 --- a/epan/dissectors/packet-ssl-utils.c +++ b/epan/dissectors/packet-ssl-utils.c @@ -43,6 +43,17 @@ * Lookup tables * */ +const gchar* ssl_version_short_names[] = { + "SSL", + "SSLv2", + "SSLv3", + "TLSv1", + "TLSv1.1", + "DTLSv1.0", + "PCT", + "TLSv1.2" +}; + const value_string ssl_20_msg_types[] = { { SSL2_HND_ERROR, "Error" }, { SSL2_HND_CLIENT_HELLO, "Client Hello" }, |