add another missed case
authorDr. Stephen Henson <steve@openssl.org>
Mon, 14 Dec 2009 01:32:47 +0000 (01:32 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 14 Dec 2009 01:32:47 +0000 (01:32 +0000)
ssl/t1_lib.c

index 70dca6e10ee62890f01f8411fcdfe9ea23513921..82c6f903b22695309e555f1b5377e40ace22ce04 100644 (file)
@@ -368,7 +368,7 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
                n2s(data,size);
 
                if (data+size > (d+n))
-                       return 1;
+                       goto ri_check;
 
                if (s->tlsext_debug_cb)
                        s->tlsext_debug_cb(s, 0, type, data, size,