[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/ChangeLog
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/ChangeLog |
Date: |
Mon, 29 Nov 2004 19:36:50 -0500 |
Index: emacs/src/ChangeLog
diff -c emacs/src/ChangeLog:1.4067 emacs/src/ChangeLog:1.4068
*** emacs/src/ChangeLog:1.4067 Mon Nov 29 15:34:57 2004
--- emacs/src/ChangeLog Tue Nov 30 00:30:37 2004
***************
*** 1,3 ****
--- 1,23 ----
+ 2004-11-30 Kim F. Storm <address@hidden>
+
+ * lisp.h: New defines to enable buffer overrun checking.
+ (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST)
+ (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add.
+
+ * alloc.c: 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.
+
+ * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if
+ XMALLOC_OVERRUN_CHECK to avoid crash during load.
+
2004-11-29 Kim F. Storm <address@hidden>
* fns.c (concat): Use SAFE_ALLOCA.
- [Emacs-diffs] Changes to emacs/src/ChangeLog, (continued)
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Eli Zaretskii, 2004/11/26
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F . Storm, 2004/11/26
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F . Storm, 2004/11/26
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Stefan Monnier, 2004/11/26
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F . Storm, 2004/11/26
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Eli Zaretskii, 2004/11/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Andreas Schwab, 2004/11/27
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kenichi Handa, 2004/11/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Stefan Monnier, 2004/11/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kim F . Storm, 2004/11/29
- [Emacs-diffs] Changes to emacs/src/ChangeLog,
Kim F . Storm <=
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Steven Tamm, 2004/11/30
- [Emacs-diffs] Changes to emacs/src/ChangeLog, Kenichi Handa, 2004/11/30