[comp.emacs] MicroEMACS 3.11 BETA Bug

dan@zeus.mgmt.purdue.edu (Daniel Lawrence) (04/03/91)

	Yes, I like finding these before other people do. In the last 
release of MicroEMACS v3.11 BETA, there is a serious bug in the (A-D)
delete-screen command. The code in free_screen() in screen.c does not
decrement the buffer use counts when deleting the windows attached to
the screen it is releasing. Since the values in the buffer structure do
not get updated, this can end up causing them to point into re-used
memory. Very bad.

	Workaround:	comment out any delete-screen calls in the
			macroes you write. Live with the memory drain.

	For the brave:	fix the core in free_screen() in screen.c

	For the meek:	wait until the real 3.11 release, beginning of May.

			Daniel Lawrence  voice: (317) 742-5153
					  arpa:	dan@midas.mgmt.purdue.edu
				The Programmer's Room 
				Fido: 1:201/10 - (317) 742-5533