Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1413418

Re: [PATCH] mpssd: fix buffer overflow warning

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: [PATCH] mpssd: fix buffer overflow warning
Date 2016-06-03 21:40 +0200
Message-ID <rG36O-7m7-17@gated-at.bofh.it> (permalink)
References <rAKHv-10c-1@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


On Thu, 19 May 2016 21:54:51 -0700
Mike Danese <mikedanese@google.com> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] mpssd: fix buffer overflow warning Jonathan Corbet <corbet@lwn.net> - 2016-06-03 21:40 +0200

csiph-web