Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
39ff48d4
Commit
39ff48d4
authored
Oct 09, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udp-turn: Don't dereference priv before check that it's valid
parent
a7afd001
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket/udp-turn.c
socket/udp-turn.c
+2
-2
No files found.
socket/udp-turn.c
View file @
39ff48d4
...
...
@@ -689,7 +689,7 @@ socket_send_message (NiceSocket *sock, const NiceAddress *to,
struct
sockaddr_storage
storage
;
struct
sockaddr
addr
;
}
sa
;
GList
*
i
=
priv
->
channels
;
GList
*
i
;
ChannelBinding
*
binding
=
NULL
;
gint
ret
;
...
...
@@ -697,7 +697,7 @@ socket_send_message (NiceSocket *sock, const NiceAddress *to,
if
(
sock
->
priv
==
NULL
)
return
-
1
;
for
(;
i
;
i
=
i
->
next
)
{
for
(
i
=
priv
->
channels
;
i
;
i
=
i
->
next
)
{
ChannelBinding
*
b
=
i
->
data
;
if
(
nice_address_equal
(
&
b
->
peer
,
to
))
{
binding
=
b
;
...
...
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