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
2796330b
Commit
2796330b
authored
Jul 15, 2010
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Please coverity : check if data is not NULL before dereferencing it
parent
67ff867b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
agent/conncheck.c
agent/conncheck.c
+1
-1
agent/pseudotcp.c
agent/pseudotcp.c
+2
-1
No files found.
agent/conncheck.c
View file @
2796330b
agent/pseudotcp.c
View file @
2796330b
...
@@ -804,6 +804,7 @@ packet(PseudoTcpSocket *self, guint32 seq, guint8 flags,
...
@@ -804,6 +804,7 @@ packet(PseudoTcpSocket *self, guint32 seq, guint8 flags,
*
((
uint32_t
*
)
(
buffer
+
20
))
=
htonl
(
priv
->
ts_recent
);
*
((
uint32_t
*
)
(
buffer
+
20
))
=
htonl
(
priv
->
ts_recent
);
priv
->
ts_lastack
=
priv
->
rcv_nxt
;
priv
->
ts_lastack
=
priv
->
rcv_nxt
;
if
(
data
!=
NULL
)
memcpy
(
buffer
+
HEADER_SIZE
,
data
,
len
);
memcpy
(
buffer
+
HEADER_SIZE
,
data
,
len
);
DEBUG
(
PSEUDO_TCP_DEBUG_VERBOSE
,
"<-- <CONV=%d><FLG=%d><SEQ=%d:%d><ACK=%d>"
DEBUG
(
PSEUDO_TCP_DEBUG_VERBOSE
,
"<-- <CONV=%d><FLG=%d><SEQ=%d:%d><ACK=%d>"
...
...
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