Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5729116rwd; Mon, 12 Jun 2023 08:54:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72OtXLTl5v3Y/V6UgDgmJj66OUPHw7Fwbuu2289hJA4XRUIQpq+jSKZCCVas607XDMm7Vk X-Received: by 2002:a17:902:ea44:b0:1b0:25ff:a8af with SMTP id r4-20020a170902ea4400b001b025ffa8afmr6330634plg.60.1686585294393; Mon, 12 Jun 2023 08:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686585294; cv=none; d=google.com; s=arc-20160816; b=Ui220vkd6IP5p9vXPtPaZI8r6jOOa0wQ2tcwPGEpV92VEq2xK5kdCNxYn9YGr7h2b5 JHfe1npTq1Lccarzo/WHbblpD+GgSshTBa4AjnCh9ORgbb1frkm1l3GFui4jRCSR0XLV U5fGmrsiyehZbqYpBkgD7oLa8ICBYNKZrm0UNi8JECQqAuqIZPcB7cBYr8xyuJ/f3UXt hIVTEHxAeiGjn5MinH6dwEu6cGuTJ+GfyBpDbpjpBsl042seBCUtuEhopzHnrcxg7gbQ x5T+n/6YuGQqb0z2nly7/4aHTINy0MfAAWh1kBvpRKHLqn1wh9p9qTWwfdNQFbXYkAfX cGHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Wt+PcmplTdhNE8+NKzm8pc5bRqWGukPkaW4rFv82TZk=; b=oLvbPyMWIoeSl22deoFvEmy1wQmzOUeDASJBCwc1CeJz3cfgQaCBynp5w0OvGTenHZ R0/ZtzmipJs1ws55ZQXVyZ69v/uFGEYmgPtJLyvQYry7hzlxdn4b1OEj+H3mjADGTnVZ 3i3R28OCsvfv5L0ALvL3SzS9qlD19FmdVWj3J8WkN/MUDO/kxkUw4pIsAdqkXtshcIph 3/vQIIKPpvv3yq2ZyHVmWGnzQRAEU+reQSLNXWleM1HSF2GT+RBOKoy2oz6v5Yd7294Y bHU/2Y1bC+hSHUhupTT4nF9LQdGSId9WwnJCKYUISyv3cjDWu+rsPZnuNzoWvXqJ6kqI rFcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nVhOB+xg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a170902e80e00b001ae014d8d03si536304plg.432.2023.06.12.08.54.39; Mon, 12 Jun 2023 08:54:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nVhOB+xg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237669AbjFLPer (ORCPT + 99 others); Mon, 12 Jun 2023 11:34:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234742AbjFLPep (ORCPT ); Mon, 12 Jun 2023 11:34:45 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90AEA10C7; Mon, 12 Jun 2023 08:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686584084; x=1718120084; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=Eb3Mm09adN6K9gUBCgKSk4MjwnPUfaI+/HnXTw8x3W4=; b=nVhOB+xgzMhBjN7BAhOIi+SMkUYePriThgZTKYloD1Tnh3fDUIXzM/04 O0DYJfp0dDB4mJkYpoKRWV4hk8LaaYPhzV49d/fORbs+ySidH+N7GJkgg mTRkEZdBIfnEZALhkmt5YT3Bfidh63bvOGsuAfsN82wGQEKOHQECUUjOE W/BzvJBY0C2dCFxwdmUtE8XbgFPAIQCEmXELhmdkyAWH1Sju7PP9H/TBS 0XVvolS+MNq7pZBKnkTgAZpqATUlVX6O5iUc5kYHd7FOtscmCC6aJf0Ho Ma1ZupUEgQukd965KFM7FafrXXsBIXBCgnLiWU9ODGabqu7IqeEETPRrj g==; X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="337712746" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="337712746" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 08:34:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="781252297" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="781252297" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 12 Jun 2023 08:34:39 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1q8jYy-0039IC-2J; Mon, 12 Jun 2023 18:34:36 +0300 Date: Mon, 12 Jun 2023 18:34:36 +0300 From: Andy Shevchenko To: Demi Marie Obenour Cc: Hans de Goede , Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , Lee Jones , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH v3 0/4] Make sscanf() stricter Message-ID: References: <20230610204044.3653-1-demi@invisiblethingslab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230610204044.3653-1-demi@invisiblethingslab.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 10, 2023 at 04:40:40PM -0400, Demi Marie Obenour wrote: > Roger Pau Monné suggested making xenbus_scanf() stricter instead of > using a custom parser. Christoph Hellwig asked why the normal vsscanf() > cannot be made stricter. Richard Weinberger mentioned Linus Torvalds’s > suggestion of using ! to allow overflow. As Rasmus articulated, NAK w.o. test cases being added to all parts where your changes touch. -- With Best Regards, Andy Shevchenko