9fans archive / 1996 / 08 / 53 /    prev next

From: Rob Pike rob@pla...
Subject: fix to acme
Date: Sat, 24 Aug 1996 15:39:26 -0400

Some time ago, someone posted a way to crash acme by creating
and deleting colums.  The fix is in /sys/src/cmd/acme/rows.l
Change

	if(c == nil){
		c = malloc(sizeof(Column));
		c->init(r);
	}else

to

	if(c == nil){
		c = malloc(sizeof(Column));
		c->init(r);
		reffont.inc();
	}else