Permalink
Browse files

Bug 736389 - [PATCH] Fix a potential null pointer dereference in src/…

…vhdldocgen.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Sep 23, 2014
1 parent c22be34 commit 7a22d83a1f9665863201ff0e717071e9b7d3a110
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/vhdldocgen.cpp
View
@@ -941,9 +941,8 @@ MemberDef* VhdlDocGen::findFunction(const QList<Argument> &ql,
Argument *arg,*arg1;
int equ=0;
for (;(arg=ali.current());++ali)
for (;(arg=ali.current()) && (arg1=ali1.current());++ali,++ali1)
{
arg1=ali1.current(); ++ali1;
equ+=abs(compareString(arg->type,arg1->type));
QCString s1=arg->type;

0 comments on commit 7a22d83

Please sign in to comment.