Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Fix another potential null pointer dereference in src/util.cpp (Origin: bugzilla #736386) #5612

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.8-GIT on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2014-09-10 08:31:31 +0000, Ettl Martin wrote:

Created attachment 285799
proposed fix

Please review the attached patch. It fixes another potential null pointer dereference
in src/util.cpp.

This fixes Coverity Scan Issue CID-49997.

Best regards and many thanks

Martin Ettl

On 2014-09-23 19:07:59 +0000, Dimitri van Heesch wrote:

The proposed fix doesn't change the guard of the loop so it will not work.

I think the intention was:

for (;(srcA=srcAli.current()) && (dstA=dstAli.current());++srcAli,++dstAli)
{
...
}

On 2014-12-25 16:02:50 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.9. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferrably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.