From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161090AbcFCTcz (ORCPT ); Fri, 3 Jun 2016 15:32:55 -0400 Received: from tex.lwn.net ([70.33.254.29]:51935 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932484AbcFCTc0 (ORCPT ); Fri, 3 Jun 2016 15:32:26 -0400 Date: Fri, 3 Jun 2016 13:32:24 -0600 From: Jonathan Corbet To: Mike Danese Cc: Ashutosh Dixit , Sudeep Dutt , Greg Kroah-Hartman , Dasaratharaman Chandramouli , Mahesh Khanwalkar , linux-doc@vger.kernel.org (open list:DOCUMENTATION), linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH] mpssd: fix buffer overflow warning Message-ID: <20160603133224.43519320@lwn.net> In-Reply-To: <1463720092-18470-1-git-send-email-mikedanese@google.com> References: <1463720092-18470-1-git-send-email-mikedanese@google.com> Organization: LWN.net X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 May 2016 21:54:51 -0700 Mike Danese wrote: > The compilation emits a warning in function ‘snprintf’, > inlined from ‘set_cmdline’ at > ../Documentation/mic/mpssd/mpssd.c:1541:9: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: > warning: call to __builtin___snprintf_chk will always overflow > destination buffer Applied to the docs tree, thanks. I do wonder if Documentation/ is the best place for this tool, though... jon