[Top][All Lists]

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

Re: Emacs 23.1.93 pretest

From: Eli Zaretskii
Subject: Re: Emacs 23.1.93 pretest
Date: Sun, 28 Feb 2010 21:31:21 +0200

> Date: Sun, 28 Feb 2010 19:32:42 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> Well, unfortunately, it doesn't seem to solve the problem.

I made the following experiment:

  . restore the calls to alloca -- the bug goes away

  . now add an xmalloc call to allocate a `struct charset_map_entries'
    right before alloca and an xfree call to free that memory after
    the call to load_charset_map, without doing anything with the
    allocated buffer in between the calls to xmalloc and to xfree --
    the bug is back!

So I think the change in charset.c itself did not cause the bug, it
just exposed a bug elsewhere, because it reshuffles the heap.

reply via email to

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