[Rpm-maint] [rpm-software-management/rpm] Incorrect length of unknown filedigest algos (#959)

Panu Matilainen notifications at github.com
Fri Nov 29 07:04:11 UTC 2019


Yeah there's a bug someplace or two. Starting with:

```
       /* Hmm, what to do with unknown digest algorithms? */
        if (algo && rpmDigestLength(*algo) != 0) {
            fi->digestalgo = *algo;
        }
```

...and also assuming rpmDigestLength() returns non-zero values in more places that one.
Thanks for reporting.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/959#issuecomment-559682759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191128/d257e66c/attachment.html>


More information about the Rpm-maint mailing list