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


Groups > linux.kernel > #1413418 > unrolled thread

Re: [PATCH] mpssd: fix buffer overflow warning

Started byJonathan Corbet <corbet@lwn.net>
First post2016-06-03 21:40 +0200
Last post2016-06-03 21:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1413418 — Re: [PATCH] mpssd: fix buffer overflow warning

FromJonathan Corbet <corbet@lwn.net>
Date2016-06-03 21:40 +0200
SubjectRe: [PATCH] mpssd: fix buffer overflow warning
Message-ID<rG36O-7m7-17@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web