distromatic.c: fix a segfault while printing version of providing packages

This commit is contained in:
Silvan Calarco 2013-09-21 15:59:49 +02:00
parent cdf0f1d7c8
commit 69bbf2e485

View File

@ -758,7 +758,7 @@ resolveFirstLevelSourceDependencies(struct configTag *ct, int archidx)
fprintf(stderr," %s (failing build provider(s):", currsourceheader->require[i]->version);
for (j = 0; j < provided->numbuildproviders; j++) {
fprintf(stderr," %s#%s",
provided->provider[j]->name, provided->version[j]);
provided->provider[j]->name, provided->buildprovider[j]->version);
/* printrpmversion(buffer,PATH_MAX,
provided->provider[j]->epoch,
provided->provider[j]->version,