Cannot use malloc with OPENSSL_free.
This commit is contained in:
parent
f550490681
commit
9c4f375672
@ -120,7 +120,7 @@ diff -up openssl-1.0.1h/ssl/ssl_ciph.c.system openssl-1.0.1h/ssl/ssl_ciph.c
|
|||||||
+ buf[len] = 0;
|
+ buf[len] = 0;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ new_rules = malloc(len + slen + 1);
|
+ new_rules = OPENSSL_malloc(len + slen + 1);
|
||||||
+ if (new_rules == 0)
|
+ if (new_rules == 0)
|
||||||
+ return NULL;
|
+ return NULL;
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user