[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault after bad value for meta-prefix-char
From: |
Peter Heslin |
Subject: |
Re: Segfault after bad value for meta-prefix-char |
Date: |
Fri, 21 Jan 2005 12:34:26 +0000 (UTC) |
User-agent: |
slrn/0.9.8.0 (Linux) |
On 2005-01-20, Richard Stallman <address@hidden> wrote:
> Does this patch fix the problem?
Yes, it does. Thanks.
> *** keymap.c 13 Jan 2005 14:48:46 -0500 1.299
> ***************
> *** 528,533 ****
> struct gcpro gcpro1;
> Lisp_Object meta_map;
> GCPRO1 (map);
> + /* A strange value in which Meta is set would cause
> + infinite recursion. Protect against that. */
> + if (meta_prefix_char & CHAR_META)
> + meta_prefix_char = make_number (27);
> meta_map = get_keymap (access_keymap (map, meta_prefix_char,
> t_ok, noinherit, autoload),
> 0, autoload);