ref: f7f5dd6cc304c7d5d24f7783066f82994c639c11
parent: 9f766b50b237544efccc96e1b229c16cf99e36a9
author: Igor Böhm <[email protected]>
date: Tue Sep 27 19:00:34 EDT 2022
allocate space for server name identifier (@iboehm)
--- a/tlshand.c
+++ b/tlshand.c
@@ -670,6 +670,7 @@
p += 2;
if(e-p < (n = get16(p-2)))
goto Short;
+ c->serverName = emalloc(n);
memmove(c->serverName, p, n);
break;
case Extec: