[Rpm-maint] [rpm-software-management/rpm] Fix off-by-one error (#68)

Jonathan Wakely notifications at github.com
Wed May 25 11:32:05 UTC 2016


There's an off-by-one error in base64_decode_value which results in undefined behaviour:

    void* out;
    size_t len;
    rpmBase64Decode("\x7b", &out, &len);
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/68

-- Commit Summary --

  * Fix off-by-one error

-- File Changes --

    M rpmio/base64.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/68.patch
https://github.com/rpm-software-management/rpm/pull/68.diff

---
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/pull/68
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160525/0d004061/attachment.html>


More information about the Rpm-maint mailing list