Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2086055ybm; Thu, 23 May 2019 11:08:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGo7RwrLucLL+8WJABfL5sApqd7VDj70iQ64lg1nMkYAHKaTbvSwILUCiY4vIc9Vde2zGt X-Received: by 2002:a17:902:9f83:: with SMTP id g3mr84346444plq.330.1558634935556; Thu, 23 May 2019 11:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558634935; cv=none; d=google.com; s=arc-20160816; b=hZIcWEpShB6X8XTIcTS7Z5CXxBjIw2SMn/H1H1aDBC9iUtpqI4S2soh1YIG8F7+pOd B2C9V5ycx1MD2zixaMY+D7EiTdSr+ICjyLU6gIFdjSO39ULnuE3Cx9ikWNrIug3Qjz8H 4d2NkX4o23ObH0UQMtnhRnlnL/BspOD9BNMX4I93x4zUn8Ao7MKc0G7uDb7Buj3l/B6J FQ+BRa9JZqnPDAdvl0qjdISYFL/G7UBWWieH5rP5czmSwwuTVxGZFiRCDK3C7doKKRrl NOcPIm3KItdkIAFVrwVVyUieqBAXReqPPUjit2Y7xGqq12QN27la0xzRuI8vB34hEVBR yo0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=aD4OTx4SNkcHeIl9DAY7zYZfZaSA4B9rjGU3TeuTjX0=; b=GbLi8iZzj+MocndIE3L+kyShZpAd4rikCKbk1Pi/U1gvUSNyYwMoTtBdtD75fMhx1E Ywl0KmxDqIwMEY9q+zr8FO1ekkndZUL0Cej0MpzzZ2nGw09kMFXEwLvQuZe7RyGCZX4P Ulj7osGjEGxuShGhXMocQbcLCfyJWIahxVACf02lPq0Hzx/6/Wq6DuyYzciH/xX5TD+k 2rw2M+oQQBnmjZn8x2BemHLgsoWSTvN8a/W/VxIkUmR0i3s0HiFHUHu7MwYWSDJDOpFM Fo/1NxWqdaQrVhV7VtOx4533qlGGcxqf9MV5GjK/2MNSrrLp5hbnUfY0DSoGPrTeyaz3 Cz2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QgCePIf0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si176777plm.343.2019.05.23.11.08.40; Thu, 23 May 2019 11:08:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QgCePIf0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387450AbfEWSGC (ORCPT + 99 others); Thu, 23 May 2019 14:06:02 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45944 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387408AbfEWSGB (ORCPT ); Thu, 23 May 2019 14:06:01 -0400 Received: by mail-wr1-f66.google.com with SMTP id b18so7245640wrq.12 for ; Thu, 23 May 2019 11:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=aD4OTx4SNkcHeIl9DAY7zYZfZaSA4B9rjGU3TeuTjX0=; b=QgCePIf0RmeNYyKTcnnGF9ryJs0rLJLMfHofq3c3S0g1s5RSeyrb42gt7BecSGVdNi HeWZVUh5zZa/xDEAJZ44Pst6V5Dyzd5JOTVOEYMDln3kYPZtwdPWG/ErrOATN3Km3l3n zQYbO0zoL66RFTuMr7yDqCwHOFlg0P+GWgvLj+BaKqdVBF79VLYcPC8OyAxINee8EBcY IfukgJj9+rBLsE+Z0dYhBc27xsHt5XuGfTZzcaeuNgZhAFLubTvhEFfv3Rk51qzG0ULl RJgh+0Zi0XCsDLUIPStQOhRuX71uxJGpJGSUD+zvpEivCPdwtJ549cZZ/VNowj1hQOFw HUPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=aD4OTx4SNkcHeIl9DAY7zYZfZaSA4B9rjGU3TeuTjX0=; b=AKUOfat7iKqT7kzQhidZ22vniWk2C6Jkms5UQaqmi8tSoB+MHsn+YblieXRWfWWd4g UGnZraVyHSBS6uoiHhG1wY6ChxlkgabQnS3eh3fYUDaGGRtsuy8KvWhq03I395Iy6S4r mEg3TJpGVH2+QXVGHj3AoKkKnaeVEP22/P6J9SVPqsJ86gjtD/1+SeM/JwW0oSMuUaQ+ 5qsE0O4ETCEXTa5LvUnfUU+KgPXgC9IMOwzVTtV//dQCNHo+6iHgIHZ3jbZScfglOagt c3M0k/cXeW9LuJizgcS6CbJfsi5ijfN5JMfAxkLVf5UbGgKPKkpBRcxhVsQidebY/VSI KItg== X-Gm-Message-State: APjAAAXyWxPyTAMfipVFxlvE7bmG99Tx4B23yOzJf2VcETCAAK0zrXjS veD8+5brAaUuTTLfbC26wygFT64= X-Received: by 2002:a5d:6703:: with SMTP id o3mr14740944wru.183.1558634759668; Thu, 23 May 2019 11:05:59 -0700 (PDT) Received: from avx2 ([46.53.252.55]) by smtp.gmail.com with ESMTPSA id z20sm422279wmf.14.2019.05.23.11.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 11:05:58 -0700 (PDT) Date: Thu, 23 May 2019 21:05:56 +0300 From: Alexey Dobriyan To: noring@nocrew.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC] sscanf: Fix integer overflow with sscanf field width Message-ID: <20190523180556.GA6430@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > What are your thoughts? Don't use sscanf(3), it is misdesigned.