Hi Johnk,
I've pushed this commit to deal with this in a more structural way:
https://github.com/doxygen/doxygen/commit/0831c71c05c9204839e187759f13303e64783730
(note that on most platforms printing a NULL pointer does not result in a segfault).
Regards,
Dimitri
> On 02 Apr 2015, at 21:07 , johnk <jk...@ar...> wrote:
>
> There are numerous debug statements in doxygen.cpp using an unchecked
> templSpec.data() which causes seg faults. Should be changed to:
>
> templSpec.isEmpty()?"":templSpec.data()
>
>
> e.g.
> Debug::print(Debug::Classes,0,
> " New undocumented base class `%s'
> baseClassName=%s templSpec=%s isArtificial=%d\n",
> biName.data(),baseClassName.data(),templSpec.data(),isArtificial
> );
>
>
> becomes
>
>
> Debug::print(Debug::Classes,0,
> " New undocumented base class `%s'
> baseClassName=%s templSpec=%s isArtificial=%d\n",
> biName.data(),baseClassName.data(),templSpec.isEmpty()?"":templSpec.data(),isArtificial
> );
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Doxygen-develop mailing list
> Dox...@li...
> https://lists.sourceforge.net/lists/listinfo/doxygen-develop
|