if (!maybe_load_repodata(data, &keyid))
return 0;
dp = entry2data(data, entry);
+ if (!dp)
+ return 0;
dp = data_read_id(dp, &schema);
/* make sure the schema of this solvable contains the key */
for (keyp = data->schemadata + data->schemata[schema]; *keyp != keyid; keyp++)
return 0;
dp = entry2data(data, entry);
+ if (!dp)
+ return 0;
dp = data_read_id(dp, &schema);
/* make sure the schema of this solvable contains the key */
for (keyp = data->schemadata + data->schemata[schema]; *keyp != keyid; keyp++)
return 0;
dp = entry2data(data, entry);
+ if (!dp)
+ return 0;
dp = data_read_id(dp, &schema);
/* make sure the schema of this solvable contains the key */
for (keyp = data->schemadata + data->schemata[schema]; *keyp != keyid; keyp++)
if (!maybe_load_repodata(data, &keyid))
return 0;
dp = entry2data(data, entry);
+ if (!dp)
+ return 0;
dp = data_read_id(dp, &schema);
for (keyp = data->schemadata + data->schemata[schema]; *keyp != keyid; keyp++)
if (!*keyp)
if (!maybe_load_repodata(data, &keyid))
return 0;
dp = entry2data(data, entry);
+ if (!dp)
+ return 0;
dp = data_read_id(dp, &schema);
for (keyp = data->schemadata + data->schemata[schema]; *keyp != keyid; keyp++)
if (!*keyp)
return;
dp = entry2data(data, entry);
+ if (!dp)
+ return;
dp = data_read_id(dp, &schema);
keyp = data->schemadata + data->schemata[schema];
if (keyname)
Id schema;
unsigned char *dp = data->incoredata;
+ if (!dp)
+ return;
if (di->solvid >= 0)
dp += data->incoreoffset[di->solvid - data->start];
else