# HG changeset patch # User Ken Raeburn # Date 961171252 0 # Node ID f24d81dfa064a804ddbd61c0cc641ed7a1491fb6 # Parent a5051216d6186bf56991f016ab65b7c72cb6d95a * xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string. diff -r a5051216d618 -r f24d81dfa064 src/ChangeLog Binary file src/ChangeLog has changed diff -r a5051216d618 -r f24d81dfa064 src/xdisp.c --- a/src/xdisp.c Fri Jun 16 15:47:45 2000 +0000 +++ b/src/xdisp.c Fri Jun 16 16:00:52 2000 +0000 @@ -12385,7 +12385,8 @@ while (pad-- > 0) *p++ = ' '; *p++ = '?'; - *p = '?'; + *p++ = '?'; + *p = '\0'; return decode_mode_spec_buf; } }