emacs-commit
[Top][All Lists]
Advanced

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

[Emacs-commit] emacs/src alloc.c


From: Kim F . Storm
Subject: [Emacs-commit] emacs/src alloc.c
Date: Mon, 29 Nov 2004 20:03:00 -0500

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         
Changes by:     Kim F. Storm <address@hidden>   04/11/30 00:30:56

Modified files:
        src            : alloc.c 

Log message:
        Add more checks for buffer overruns.
        (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header)
        xmalloc_overrun_check_trailer, overrun_check_malloc)
        overrun_check_realloc, overrun_check_free): Add.
        (GC_STRING_EXTRA, string_overrun_pattern): Add.
        (check_sblock, allocate_string_data, compact_small_strings):
        Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN.
        (check_cons_list): Condition on GC_CHECK_CONS_LIST.
        (check_string_free_list): Add.
        (allocate_string, sweep_strings): Call check_string_free_list.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/alloc.c.diff?tr1=1.351&tr2=1.352&r1=text&r2=text





reply via email to

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