Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
bc95beac
Commit
bc95beac
authored
Sep 23, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 736386 - [PATCH] Fix another potential null pointer dereference in src/util.cpp
parent
24b5b715
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
util.cpp
src/util.cpp
+1
-1
No files found.
src/util.cpp
View file @
bc95beac
...
@@ -3669,7 +3669,7 @@ bool matchArguments2(Definition *srcScope,FileDef *srcFileScope,ArgumentList *sr
...
@@ -3669,7 +3669,7 @@ bool matchArguments2(Definition *srcScope,FileDef *srcFileScope,ArgumentList *sr
// all arguments.
// all arguments.
ArgumentListIterator
srcAli
(
*
srcAl
),
dstAli
(
*
dstAl
);
ArgumentListIterator
srcAli
(
*
srcAl
),
dstAli
(
*
dstAl
);
Argument
*
srcA
,
*
dstA
;
Argument
*
srcA
,
*
dstA
;
for
(;(
srcA
=
srcAli
.
current
()
,
dstA
=
dstAli
.
current
());
++
srcAli
,
++
dstAli
)
for
(;(
srcA
=
srcAli
.
current
()
)
&&
(
dstA
=
dstAli
.
current
());
++
srcAli
,
++
dstAli
)
{
{
if
(
!
matchArgument2
(
srcScope
,
srcFileScope
,
srcA
,
if
(
!
matchArgument2
(
srcScope
,
srcFileScope
,
srcA
,
dstScope
,
dstFileScope
,
dstA
)
dstScope
,
dstFileScope
,
dstA
)
...
...
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