libfontenc: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat May 14 17:36:25 UTC 2022


 configure.ac       |    3 +++
 src/Makefile.am    |    5 +++--
 src/encparse.c     |   17 +++++++++--------
 src/fontenc.c      |    3 ++-
 src/reallocarray.c |   43 +++++++++++++++++++++++++++++++++++++++++++
 src/reallocarray.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 104 insertions(+), 11 deletions(-)

New commits:
commit 1aeb6a2d1673c1ae23763f55f09fb18d8e188fe0
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun May 8 11:24:31 2022 -0700

    Convert code to use Xmallocarray() & Xreallocarray()
    
    Provides automatic integer overflow checking in allocation size calculations
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 3ff95c472abe8eb8fe1ccda5cd40d99407f1f9a4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun May 8 11:14:11 2022 -0700

    Import reallocarray() from libX11 (originally from OpenBSD)
    
    Wrapper for realloc() that checks for overflow when multiplying
    arguments together, so we don't have to add overflow checks to
    every single call.  For documentation on usage, see:
    http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list