mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: <ramit.bhalla@wipro.com>
Cc: <linux-kernel@vger.kernel.org>, <alan@redhat.com>
Subject: Re: Bug in vsprintf.c - vsscanf()
Date: Mon, 1 Sep 2003 11:03:38 -0700 (PDT)	[thread overview]
Message-ID: <33241.4.4.25.4.1062439418.squirrel@www.osdl.org> (raw)
In-Reply-To: <52C85426D39B314381D76DDD480EEE0CFC6983@blr-m3-msg.wipro.com>

> Hi,
>
> There appears to be a bug in vsprintf.c
> The function vsscanf (if I'm correct) is the kernel mode equivalent of user
> mode sscanf. If one tries to read a hex string using the format "%x" it
> returns an error if the read buffer contains any character other than 0-9.
>
> I believe the culprit lies on line 640 of vsprintf.c
>
> It should be "isxdigit" instead of "isdigit".
>
> Hope I'm not missing anything here :)

Like what kernel version...?

If it's 2.4.x, is it recent?

~Randy





  reply	other threads:[~2003-09-01 18:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-01 16:14 Ramit Bhalla
2003-09-01 18:03 ` Randy.Dunlap [this message]
2003-09-02  4:59 Ramit Bhalla
2003-09-02 15:32 ` Randy.Dunlap

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=33241.4.4.25.4.1062439418.squirrel@www.osdl.org \
    --to=rddunlap@osdl.org \
    --cc=alan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ramit.bhalla@wipro.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®