diff options
| author | lishu <[email protected]> | 2018-11-29 21:34:25 +0800 |
|---|---|---|
| committer | lishu <[email protected]> | 2018-11-29 21:34:25 +0800 |
| commit | 8a731c972bb97b5d814083c5ac700c1f25bf2ba2 (patch) | |
| tree | 5b5c7dab99ff0ecb4d80d03fe06ca65785418fe1 /src/SSL_Analyze.c | |
| parent | 6e703c4335a6a724d36bcea4d257330d281650e7 (diff) | |
san bug修复,san可能为NULL
Diffstat (limited to 'src/SSL_Analyze.c')
| -rw-r--r-- | src/SSL_Analyze.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/SSL_Analyze.c b/src/SSL_Analyze.c index 316f942..70c5cea 100644 --- a/src/SSL_Analyze.c +++ b/src/SSL_Analyze.c @@ -19,7 +19,7 @@ ssl_prog_runtime_parameter_t g_ssl_prog_para; -int SSL_VERSION_1_20181108 = 0; +int SSL_VERSION_1_20181129 = 0; void ssl_history() { @@ -62,6 +62,8 @@ void ssl_history() //2018-06-29 V0.2 cert extension //2018-07-30 V0.2 APPLICATION_DATA bug //2018-11-08 V0.2 multi-san +//2018-11-29 V0.2 san dictator_malloc + //to do //certificate ANSL @@ -267,7 +269,7 @@ int ssl_initSslStream(struct streaminfo *a_tcp, void **pme, int thread_seq) memset(a_ssl_stream->stClientHello, 0, sizeof(a_ssl_stream->stClientHello)); ssl_initStructClientHello(a_ssl_stream->stClientHello); - a_ssl_stream->stServerHello = (st_server_hello_t*)malloc(sizeof(st_server_hello_t)); + a_ssl_stream->stServerHello = (st_server_hello_t*)dictator_malloc(thread_seq,sizeof(st_server_hello_t)); memset(a_ssl_stream->stServerHello, 0, sizeof(a_ssl_stream->stServerHello)); ssl_initStructServerHello(a_ssl_stream->stServerHello); */ |
