Re: [PATCH] mpssd: fix buffer overflow warning

From: Jonathan Corbet
Date: Fri Jun 03 2016 - 15:32:57 EST

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