From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 18 Jun 2014 13:34:14 -0400 To: 9fans@9fans.net Message-ID: <5913279d9de84d09ab484e49b46d54f6@brasstown.quanstro.net> In-Reply-To: <0F299083-D3D8-456F-AD09-350117E95B9B@fb.com> References: <0F299083-D3D8-456F-AD09-350117E95B9B@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] possible buffer overflow in devcons.c? Topicbox-Message-UUID: fb419e70-ead8-11e9-9d60-3106f5b1d025 > But is the buf[3] enough? UTFMAX is 4 so we could possibly overflow no? > Shouldn't it be buf[UTFMAX] ? yes, it should. i thought i'd caught all of those. - erik