bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch


From: Gary V. Vaughan
Subject: Re: [Bug-gnulib] Patch proposal: 1-gary-safe-xfree.patch
Date: Wed, 08 Oct 2003 15:51:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Paul Eggert wrote:
2003-09-15  Paul Eggert  <address@hidden>

        Don't use XMALLOC and XCALLOC.  Once we install the
        corresponding patch into gnulib, this will fix some
        address-calculation overflow bugs on hosts where calloc (A, B)
        returns garbage when A*B overflows.

        * m4/hash.c (m4_hash_new, node_new, m4_hash_resize,
        maybe_grow, m4_get_hash_iterator_next): Replace XMALLOC with
        xmalloc, XCALLOC with xcalloc.
        * m4/m4.c (m4_create): Likewise.
        * m4/m4private.h (m4_symbol_value_create): Likewise.
        * m4/output.c (m4_output_init): Likewise.
        * m4/symtab.c (symtab_fetch, m4_set_symbol_traced): Likewise.
        * m4/syntax.c (remove_syntax_attribute): Likewise.
        * src/freeze.c (reload_frozen_state): Likewise.
        * src/main.c (main): Likewise.

Applied to HEAD.  Thanks!
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]