Skip to content

Commit

Permalink
Null pointer Dereference.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdelnero committed Nov 17, 2023
1 parent f279c57 commit d24a7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_jtag_core/src/bsdl_parser/bsdl_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ char * get_attribut(char ** lines,char * name, char * entity)
char * ptr;
i = 0;

do
while( lines[i] )
{
if(!strncmp(lines[i],"attribute ",10))
{
Expand Down Expand Up @@ -635,7 +635,7 @@ char * get_attribut(char ** lines,char * name, char * entity)
}
}
i++;
}while( lines[i] );
}

return NULL;
}
Expand Down

0 comments on commit d24a7b3

Please sign in to comment.