reports.c: generateHTML_SRPMSFiles: fix a segfault when writing multiple providers
This commit is contained in:
parent
374df0a529
commit
160acba232
@ -1194,6 +1194,7 @@ generateHTML_SRPMSFiles(struct configTag *configtag)
|
||||
} else {
|
||||
// multiple providers
|
||||
if (i == 0 ||
|
||||
!currheadersourcelist->require[i-1]->resolved ||
|
||||
strcmp(currheadersourcelist->require[i-1]->resolved->name,
|
||||
currheadersourcelist->require[i]->resolved->name))
|
||||
fprintf(fout,"<i>%s</i>(",currheadersourcelist->require[i]->resolved->name);
|
||||
|
Loading…
Reference in New Issue
Block a user