From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3682 Path: news.gmane.org!not-for-mail From: "Kirill Ternosvky" Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl regression tests Date: Fri, 19 Jul 2013 11:40:20 -0400 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374248447 28490 80.91.229.3 (19 Jul 2013 15:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2013 15:40:47 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3686-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jul 19 17:40:50 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1V0CnW-0003hy-9n for gllmg-musl@plane.gmane.org; Fri, 19 Jul 2013 17:40:46 +0200 Original-Received: (qmail 25964 invoked by uid 550); 19 Jul 2013 15:40:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 25955 invoked from network); 19 Jul 2013 15:40:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1374248423; bh=LoFV/q8yPH8DGQAlrGUnteYDSZ6OaKxmxrLhWN1uR9o=; h=Content-Type:To:Subject:References:Date:MIME-Version: Content-Transfer-Encoding:From:Message-ID:In-Reply-To:User-Agent; b=sTvjYEQ0dSLZickiYZ/JrD/+ANuwXITLnE00enQ8moLvmxSLVT3ZqfRcKHmICBRt3 310z6eyHsUvnAGO5ZSm4/x3hbvmb/xiB5qhNAqDDu558S/MiNWWSxyCVrYYbPdwtBY 1LB8eKZctMiAL7y+wA6imE/Gfod2bJnV+LkvI6OU= Authentication-Results: smtp6.mail.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) Xref: news.gmane.org gmane.linux.lib.musl.general:3682 Archived-At: /* FILE: wcsncpy-read-overflow.c */ /* Commit: e98136207ad1a6df1cdc1578e4ad56f8f0db4047 */ #include #include "test.h" int main(void) { wchar_t dest[] = { 'a', 'a', }; wchar_t src[] = { 0, 'b', }; wcsncpy(dest, src, 1); if(dest[1] != 'a') { t_error("wcsncpy copied more than N\n"); } return 0; }