From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/261 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?THVrYSBNYXLEjWV0acSH?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Simple testing task - string functions Date: Sun, 10 Apr 2011 14:08:25 +0200 Message-ID: <4DA19DB9.1090803@gmail.com> References: <20110410044515.GB13185@brightrain.aerifal.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1312595691 11323 80.91.229.12 (6 Aug 2011 01:54:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2011 01:54:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: envelope-from@hidden Sun Apr 10 16:11:13 2011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; DomainKey-Signature: a=rsa-sha1; c=nofws; User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 In-Reply-To: <20110410044515.GB13185@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:261 Archived-At: On 04/10/2011 06:45 AM, Rich Felker wrote: > Here's a testing task (particularly for Luka who's applied for SoC) > I'd like to see written. It's based on a recent bug that turned up in > strchr. The interfaces to be tested are strlen, strchr, strcspn, > strspn, memchr, etc. - any string/memory function that scans a range > of memory and needs to stop when it hits a byte matching certain > conditions. We're looking to detect invalid memory access past the end > of the object, and tests should go something like: [...] > I like the task, it should be interesting. I have some work to do next week (monday especially), but I'll definitely finish it before the 15th. I'll make sure to keep the framework out of the picture for now as you and Alexander both suggested. Thanks Rich, -Luka Marčetić