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
ed39dab5
Commit
ed39dab5
authored
Dec 26, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #270 from orbitcowboy/master
Fix potential null pointer dereference in src/context.cpp
parents
cbd3fa18
2690774f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
context.cpp
src/context.cpp
+1
-1
No files found.
src/context.cpp
View file @
ed39dab5
...
...
@@ -5244,7 +5244,7 @@ class NestingNodeContext::Private : public PropertyMapper
void
addClasses
(
bool
inherit
,
bool
hideSuper
)
{
ClassDef
*
cd
=
m_def
->
definitionType
()
==
Definition
::
TypeClass
?
(
ClassDef
*
)
m_def
:
0
;
if
(
inherit
)
if
(
cd
&&
inherit
)
{
bool
hasChildren
=
!
cd
->
visited
&&
!
hideSuper
&&
classHasVisibleChildren
(
cd
);
if
(
hasChildren
)
...
...
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