From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A657DC433DB for ; Mon, 11 Jan 2021 10:45:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6418C2226A for ; Mon, 11 Jan 2021 10:45:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729412AbhAKKpX (ORCPT ); Mon, 11 Jan 2021 05:45:23 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:7008 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726734AbhAKKpW (ORCPT ); Mon, 11 Jan 2021 05:45:22 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10BAhIJT028734; Mon, 11 Jan 2021 04:43:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=subject : from : to : cc : references : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=PODMain02222019; bh=R2NyNxmDNBn2BvOFOrA6muYWwv5pqAnTc69UGv/oRpw=; b=qVviJ/Ezp9ybVKOpyfkQwDiJHkONuotJt+dXmRNiUz0KpTNKCg294SqiqwDt8HGM7jLh jVAzH2KvNcyD3Ux/WwhlHz7dhZGJCWycMkSQ/nMGfPYned0H6Bj4tKJlrwvjSW6ezwIs 9DlfcIyiPcyGd6uaRRpPlYxV+Jw2W76pT4PYmrcefbFLeKNbk0bycvcZFG1egRExDZpX iwolPh8L3t77kBMZI0rLaeyVGFsIajQ8ls2k7j6Le9jjaQGOrjnuxjgfnc4gyzL0LCXz ks9Z95lm83ldYj9e0IGLO3FNLI2D6NfugmURsPt+VAdCANNmXZgubSrelG7hoo/vbzOs dw== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 35yas722fc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 11 Jan 2021 04:43:18 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 11 Jan 2021 10:43:16 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Mon, 11 Jan 2021 10:43:16 +0000 Received: from [10.0.2.15] (AUSNPC0LSNW1.ad.cirrus.com [198.61.65.3]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id B0C8245; Mon, 11 Jan 2021 10:43:15 +0000 (UTC) Subject: Re: [PATCH v3 1/4] lib: vsprintf: scanf: Negative number must have field width > 1 From: Richard Fitzgerald To: Andy Shevchenko , Petr Mladek CC: Steven Rostedt , Sergey Senozhatsky , Shuah Khan , , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , Andy Shevchenko , Rasmus Villemoes References: <20201217180057.23786-1-rf@opensource.cirrus.com> Message-ID: <395b37b8-d9b2-1825-8e57-9e1b74aa7502@opensource.cirrus.com> Date: Mon, 11 Jan 2021 10:43:17 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 adultscore=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=630 malwarescore=0 clxscore=1015 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101110064 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/01/2021 10:39, Richard Fitzgerald wrote: > On 11/01/2021 10:36, Andy Shevchenko wrote: >> On Mon, Jan 11, 2021 at 12:28 PM Petr Mladek wrote: >>> >>> Sigh, I have just realized that Andy and Rasmus, the other >>> vsprintf maintainers and reviewers, were not in CC. >>> I am sorry for not noticing this earlier. >>> >>> The patchset is ready for 5.12 from my POV. >> >> Thanks, Petr! >> >> I have one question, do we have a test case for that? If not, I prefer >> defer until a test case will be provided. >> > > See patch 3, numbers_prefix_overflow() Sorry, I missed you off the original mailing so you won't have seen the other patches. Patch 3 with the test cases is here: https://lore.kernel.org/lkml/X%2FwnoJLEt0zQskDU@alley/T/#mf2ffba20126e438bea7af171bc78fdbebdb40027