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
68c063cb
Commit
68c063cb
authored
Sep 23, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 736022 - [PATCH] Fix potential null pointer dereference in src/index.cpp
parent
79dedb65
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
dot.cpp
src/dot.cpp
+1
-1
index.cpp
src/index.cpp
+2
-2
translator_tw.h
src/translator_tw.h
+2
-2
No files found.
src/dot.cpp
View file @
68c063cb
...
@@ -1095,7 +1095,7 @@ bool DotFilePatcher::run()
...
@@ -1095,7 +1095,7 @@ bool DotFilePatcher::run()
// mapId,m_patchFile.data(),map->mapFile.data());
// mapId,m_patchFile.data(),map->mapFile.data());
if
(
!
writeVecGfxFigure
(
t
,
map
->
label
,
map
->
mapFile
))
if
(
!
writeVecGfxFigure
(
t
,
map
->
label
,
map
->
mapFile
))
{
{
err
(
"problem writing
Gfx %d figure!
\n
"
,
t
);
err
(
"problem writing
FIG %d figure!
\n
"
,
mapId
);
return
FALSE
;
return
FALSE
;
}
}
}
}
...
...
src/index.cpp
View file @
68c063cb
...
@@ -923,9 +923,9 @@ static int countClassesInTreeList(const ClassSDict &cl)
...
@@ -923,9 +923,9 @@ static int countClassesInTreeList(const ClassSDict &cl)
{
{
int
count
=
0
;
int
count
=
0
;
ClassSDict
::
Iterator
cli
(
cl
);
ClassSDict
::
Iterator
cli
(
cl
);
for
(;
cli
.
current
();
++
cli
)
ClassDef
*
cd
;
for
(;(
cd
=
cli
.
current
());
++
cli
)
{
{
ClassDef
*
cd
=
cli
.
current
();
if
(
!
hasVisibleRoot
(
cd
->
baseClasses
()))
// filter on root classes
if
(
!
hasVisibleRoot
(
cd
->
baseClasses
()))
// filter on root classes
{
{
if
(
cd
->
isVisibleInHierarchy
())
// should it be visible
if
(
cd
->
isVisibleInHierarchy
())
// should it be visible
...
...
src/translator_tw.h
View file @
68c063cb
...
@@ -1947,7 +1947,7 @@ class TranslatorChinesetraditional : public Translator
...
@@ -1947,7 +1947,7 @@ class TranslatorChinesetraditional : public Translator
return
result
;
return
result
;
}
}
/** UNO IDL service page */
/** UNO IDL service page */
virtual
QCString
trServiceGeneratedFromFiles
(
bool
single
)
virtual
QCString
trServiceGeneratedFromFiles
(
bool
)
{
{
// single is true implies a single file
// single is true implies a single file
QCString
result
=
(
QCString
)
"本服務的文件由以下的檔案"
QCString
result
=
(
QCString
)
"本服務的文件由以下的檔案"
...
@@ -1956,7 +1956,7 @@ class TranslatorChinesetraditional : public Translator
...
@@ -1956,7 +1956,7 @@ class TranslatorChinesetraditional : public Translator
return
result
;
return
result
;
}
}
/** UNO IDL singleton page */
/** UNO IDL singleton page */
virtual
QCString
trSingletonGeneratedFromFiles
(
bool
single
)
virtual
QCString
trSingletonGeneratedFromFiles
(
bool
)
{
{
// single is true implies a single file
// single is true implies a single file
QCString
result
=
(
QCString
)
"本singleton的文件由下面的檔案"
QCString
result
=
(
QCString
)
"本singleton的文件由下面的檔案"
...
...
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