> 3. Type: M-x describe-key RET a RET (segfault)

Hey Gavin, I stole your fix and it seems to work here too:

--- a/info/infodoc.c
+++ b/info/infodoc.c
@@ -466,7 +466,8 @@
       *k++ = keystroke;
       *k = '\0';
 
-      if (map[keystroke].value.function == NULL)
+      if (map[keystroke].value.function == NULL
+          || !map[keystroke].value.function->func /* "invalid" mapping */)
         {
           message_in_echo_area (_("%s is undefined"), pretty_keyseq (keys));
           return;

Reply via email to