mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
Make sure that tcptls_session is properly initialized.
(issue #18598) Reported by: ksn git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@316917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5680,7 +5680,7 @@ static int auth_http_callback(struct ast_tcptls_session_instance *ser,
|
||||
struct ast_variable *headers)
|
||||
{
|
||||
struct mansession_session *session = NULL;
|
||||
struct mansession s = { NULL, };
|
||||
struct mansession s = { .session = NULL, .tcptls_session = ser };
|
||||
struct ast_variable *v, *params = get_params;
|
||||
char template[] = "/tmp/ast-http-XXXXXX"; /* template for temporary file */
|
||||
struct ast_str *http_header = NULL, *out = NULL;
|
||||
|
||||
Reference in New Issue
Block a user