Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
belle-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
belle-sip
Commits
561958bf
Commit
561958bf
authored
May 11, 2018
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix buffer that may be uninitialized.
parent
dc3bdd6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tls_channel.c
src/transports/tls_channel.c
+1
-0
No files found.
src/transports/tls_channel.c
View file @
561958bf
...
@@ -517,6 +517,7 @@ static int tls_process_handshake(belle_sip_channel_t *obj){
...
@@ -517,6 +517,7 @@ static int tls_process_handshake(belle_sip_channel_t *obj){
char
tmp
[
128
];
char
tmp
[
128
];
int
err
=
bctbx_ssl_handshake
(
channel
->
sslctx
);
int
err
=
bctbx_ssl_handshake
(
channel
->
sslctx
);
memset
(
tmp
,
'\0'
,
sizeof
(
tmp
));
if
(
err
==
0
){
if
(
err
==
0
){
belle_sip_message
(
"Channel [%p]: SSL handshake finished, SSL version is [%s], selected ciphersuite is [%s]"
,
obj
,
belle_sip_message
(
"Channel [%p]: SSL handshake finished, SSL version is [%s], selected ciphersuite is [%s]"
,
obj
,
bctbx_ssl_get_version
(
channel
->
sslctx
),
bctbx_ssl_get_ciphersuite
(
channel
->
sslctx
));
bctbx_ssl_get_version
(
channel
->
sslctx
),
bctbx_ssl_get_ciphersuite
(
channel
->
sslctx
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment