From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Sat Nov 21 20:56:49 -0500 2020 Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 0e4ad02e (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Sat, 21 Nov 2020 17:56:39 -0800 (PST) Message-ID: To: bdhpfl@gmail.com To: 9front@9front.org Subject: Re: [9front] dc: crash on colon : operator Date: Sat, 21 Nov 2020 17:56:38 -0800 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: ACPI CSS-based plugin rich-client locator Quoth istvan bak : > Full patch: Thanks, and sorry for the long delay -- I'm not too familiar with the dc code, so it took a while to review. Committed with a small tweak: > while((c = readc()) != '\n') > - *sl++ = c; > + if(sl < line+100-1) > + *sl++ = c; > *sl = 0;