bug (typo) in memberdef.cpp: defArgList vs declArgList
"Konstantin Serebryany" <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've hit a seg fault in doxygen 1.5.3 with stack like this:
#0 0x082540ab in QGListIterator (this=0xffffd500, l=@0x0) at qglist.cpp
:1058
#1 0x08071b5a in QListIterator (this=0xffffd500, l=@0x0) at
../qtools/qlist.h:111
#2 0x0812ad71 in MemberDef::copyArgumentNames (this=0x369b2d70,
bmd=0xe4d5b938) at memberdef.cpp:3913
#3 0x08054673 in inheritDocumentation () at doxygen.cpp:7152
#4 0x0806f36c in parseInput () at doxygen.cpp:9785
#5 0x0804a1a9 in main (argc=2, argv=0xffffd8a4) at main.cpp:37
It looks like this is a simple typo (copy-paste bug), and the following
fixed my problem.
@@ -3908,7 +3908,7 @@
}
{
LockingPtr<ArgumentList> arguments = bmd->declArgumentList();
- if (m_impl->defArgList && arguments!=0)
+ if (m_impl->declArgList && arguments!=0)
{
ArgumentListIterator aliDst(*m_impl->declArgList);
ArgumentListIterator aliSrc(*arguments);
@@ -3920,5 +3920,3 @@
}
}
}
Latest svn version seems to have this issue as well.
Thanks,
-kcc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop