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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D227DC88CB2 for ; Mon, 12 Jun 2023 15:34:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237616AbjFLPer (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@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