mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Witold Baryluk" <baryluk@smp.if.uj.edu.pl>
To: Jiri Kosina <jkosina@suse.cz>
Cc: Harry Wei <jiaweiwei.xiyou@gmail.com>,
	Andy Lutomirski <luto@MIT.EDU>, Greg KH <greg@kroah.com>,
	Andres More <more.andres@gmail.com>,
	Joe Perches <joe@perches.com>,
	linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
	Ilia Mirkin <imirkin@alum.mit.edu>
Subject: Re: [Oops 1/2]Something wrong with copy_from_user() function - possible false positive due bug in gcc 4.6
Date: Tue, 31 May 2011 02:38:26 +0200	[thread overview]
Message-ID: <20110531003826.GD14366@smp.if.uj.edu.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 608 bytes --]

Hi.

You my wantto look here

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48880
and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639

It is regression in gcc 4.6

Particulry this error happens in binfmt_misc.c file.
gcc 4.6 errornously print error in this file.

However I could not find such behavior
nowhere in rest of kernel. But it can still
be a case If you use gcc 4.6.

If you are using gcc 4.5 or older, it is probably
genuine error, or someone is using a destination
buffer which is unknown size and gcc cannot
prove it is big enaugh to hold data.




-- 
Witold Baryluk

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

                 reply	other threads:[~2011-05-31  0:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110531003826.GD14366@smp.if.uj.edu.pl \
    --to=baryluk@smp.if.uj.edu.pl \
    --cc=devel@driverdev.osuosl.org \
    --cc=greg@kroah.com \
    --cc=imirkin@alum.mit.edu \
    --cc=jiaweiwei.xiyou@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@MIT.EDU \
    --cc=more.andres@gmail.com \
    /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

all inboxes | Powered by JetHome®