linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Daniel Micay <danielmicay@gmail.com>,
	kbuild-all@01.org, Kees Cook <keescook@chromium.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [kees:for-next/fortify 8/8] include/linux/string.h:309:4: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
Date: Mon, 26 Jun 2017 14:45:39 -0700	[thread overview]
Message-ID: <20170626144539.1e2f7e07ed9d7063db77d063@linux-foundation.org> (raw)
In-Reply-To: <201706250930.6iL2L5TJ%fengguang.wu@intel.com>

On Sun, 25 Jun 2017 09:16:32 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/fortify
> head:   d481d95b725d2abc7ed31f2f8c4c95c2bd8b0282
> commit: d481d95b725d2abc7ed31f2f8c4c95c2bd8b0282 [8/8] include/linux/string.h: add the option of fortified string.h functions
> config: i386-allmodconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout d481d95b725d2abc7ed31f2f8c4c95c2bd8b0282
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/x86/include/asm/page_32.h:34:0,
>                     from arch/x86/include/asm/page.h:13,
>                     from arch/x86/include/asm/thread_info.h:11,
>                     from include/linux/thread_info.h:37,
>                     from arch/x86/include/asm/preempt.h:6,
>                     from include/linux/preempt.h:80,
>                     from include/linux/spinlock.h:50,
>                     from include/linux/mmzone.h:7,
>                     from include/linux/gfp.h:5,
>                     from include/linux/slab.h:14,
>                     from drivers/scsi/csiostor/csio_lnode.c:37:
>    In function 'memcpy',
>        inlined from 'csio_append_attrib' at drivers/scsi/csiostor/csio_lnode.c:248:2,

hm, this was added by Kees's 42c335f7e6702 ("scsi: csiostor: Avoid
content leaks and casts").

I think I'll tend to ignore these odd stragglers now - a few more will
probably pop up and we can fix them after 4.13-rc1 as they are
reported.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2017-06-26 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25  1:16 kbuild test robot
2017-06-26 21:45 ` Andrew Morton [this message]
2017-06-26 21:52   ` Daniel Micay
2017-06-26 21:55     ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170626144539.1e2f7e07ed9d7063db77d063@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=danielmicay@gmail.com \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=keescook@chromium.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox