mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: "Paweł Sikora" <pluto@pld-linux.org>, linux-kernel@vger.kernel.org
Subject: Re: [oops] lib/vsprintf.c
Date: Tue, 02 Nov 2004 11:06:03 -0800	[thread overview]
Message-ID: <4187DA9B.8060401@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.53.0411021937460.13120@yvahk01.tjqt.qr>

Jan Engelhardt wrote:
>>>You do know that %s does not mix with 1.4?
>>
>>Yes, I known. I did it intentionally.

And you intentionally ignored the gcc warning...
it's all yours.
I.e., a normal user couldn't load the kernel module.

>>IMHO kernel should be more resistant to accidental programmers errors.
>>Be secure, trust no one ;)
> 
> 
> Well usually it should be. include/linux/kernel.h has the __attribute__(printf)
> stuff for the print[fk]* family.


-- 
~Randy

  reply	other threads:[~2004-11-02 19:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02  6:19 Paweł Sikora
2004-11-02  6:27 ` Nick Piggin
2004-11-02  7:35   ` Pawel Sikora
2004-11-02  9:08     ` Bernd Petrovitsch
2004-11-02  7:03 ` Jan Engelhardt
2004-11-02 18:34   ` Paweł Sikora
2004-11-02 18:38     ` Jan Engelhardt
2004-11-02 19:06       ` Randy.Dunlap [this message]
2004-11-02 18:46     ` Bernd Petrovitsch
2004-11-02 18:59       ` Jan Engelhardt

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=4187DA9B.8060401@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pluto@pld-linux.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

all inboxes | Powered by JetHome®