[Rpm-maint] [rpm-software-management/rpm] Add rreallocn() to librpmio public API (PR #1915)

Panu Matilainen notifications at github.com
Tue Feb 8 07:31:21 UTC 2022


rreallocn() is like realloc() but with multiplication protection.
Inspired by glibc's reallocarray() but I dislike that name.

Based on initial patch by Demi Marie Obenour.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add rreallocn() to librpmio public API

-- File Changes --

    M rpmio/rpmmalloc.c (13)
    M rpmio/rpmutil.h (4)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1915
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1915 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220207/bf826af9/attachment.html>


More information about the Rpm-maint mailing list