[net.emacs] Emacs #264

thomas%UTAH-GR@utah-cs@sri-unix.UUCP (08/06/83)

From:  Spencer W. Thomas  <thomas%UTAH-GR@utah-cs>

With a 2-line minibuffer in Unipress emacs, do:
	M-x ^O^O^N^N
Your emacs should die with a segmentation fault (usually).  It doesn't
realize that the ^N has put you "off the screen", and searches downward
for the line you are on.  Eventually it hits a pointer to non-existent
memory.  Here is a fix (line numbers will be a little off) in DoDsp:
843c845,846
< 	    while (dot>=LineStart[LOneLLine+1] && !IsMode[LOneLLine+1])
---
> 	    while (dot>=LineStart[LOneLLine+1] && !IsMode[LOneLLine+1] &&
> 		    LOneLLine+1 <=ScreenLength )

=Spencer