Heh, so a more careful reading of the report... the userid is *intentionally* 
removed here.
So assuming that's a reasonable thing to do (considering where these keys are 
coming from), the minimal fix would probably be this instead:

```
-           digps[count]->userid = xstrdup(mainkey->userid);
+           if (mainkey->userid)
+               digps[count]->userid = xstrdup(mainkey->userid);

```

There could be other places that rely on the userid being there besides this.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3001#issuecomment-2031708849
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3001/2031708...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to