summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ssl-utils.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-09-14 21:24:24 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-09-14 21:24:24 +0000
commit01e559bb2f47101e7cc11d8245e5a248a47d5fa2 (patch)
tree307557a060e309429419bb55e94432fd8dbb3fb5 /epan/dissectors/packet-ssl-utils.c
parentf218286db5adf1e649d6387e15cef7b020ae6ddb (diff)
downloadwireshark-01e559bb2f47101e7cc11d8245e5a248a47d5fa2.tar.gz
Fix for bug 4008:
Crash on TLSv1.2 packets, caused by ssl_short_name array overrun. svn path=/trunk/; revision=29906
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r--epan/dissectors/packet-ssl-utils.c11
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" },