* RE: Bug in vsprintf.c - vsscanf()
@ 2003-09-02 4:59 Ramit Bhalla
2003-09-02 15:32 ` Randy.Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Ramit Bhalla @ 2003-09-02 4:59 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: linux-kernel, alan
Oh sorry -
It's the 2.4.19 kernel version.
Ramit.
-----Original Message-----
From: Randy.Dunlap [mailto:rddunlap@osdl.org]
Sent: Monday, September 01, 2003 11:34 PM
To: Ramit Bhalla
Cc: linux-kernel@vger.kernel.org; alan@redhat.com
Subject: Re: Bug in vsprintf.c - vsscanf()
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in vsprintf.c - vsscanf()
2003-09-02 4:59 Bug in vsprintf.c - vsscanf() Ramit Bhalla
@ 2003-09-02 15:32 ` Randy.Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2003-09-02 15:32 UTC (permalink / raw)
To: Ramit Bhalla; +Cc: linux-kernel, alan
On Tue, 2 Sep 2003 10:29:07 +0530 "Ramit Bhalla" <ramit.bhalla@wipro.com> wrote:
| Oh sorry -
| It's the 2.4.19 kernel version.
In that case you can look at more recent kernel versions and
see that it's already fixed.
~Randy
| -----Original Message-----
| From: Randy.Dunlap [mailto:rddunlap@osdl.org]
| Sent: Monday, September 01, 2003 11:34 PM
| To: Ramit Bhalla
| Cc: linux-kernel@vger.kernel.org; alan@redhat.com
| Subject: Re: Bug in vsprintf.c - vsscanf()
|
|
| > 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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Tue, 2 Sep 2003 10:29:07 +0530 "Ramit Bhalla" <ramit.bhalla@wipro.com> wrote:
| Oh sorry -
| It's the 2.4.19 kernel version.
In that case you can look at more recent kernel versions and
see that it's already fixed.
~Randy
| -----Original Message-----
| From: Randy.Dunlap [mailto:rddunlap@osdl.org]
| Sent: Monday, September 01, 2003 11:34 PM
| To: Ramit Bhalla
| Cc: linux-kernel@vger.kernel.org; alan@redhat.com
| Subject: Re: Bug in vsprintf.c - vsscanf()
|
|
| > 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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug in vsprintf.c - vsscanf()
2003-09-01 16:14 Ramit Bhalla
@ 2003-09-01 18:03 ` Randy.Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2003-09-01 18:03 UTC (permalink / raw)
To: ramit.bhalla; +Cc: linux-kernel, alan
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Bug in vsprintf.c - vsscanf()
@ 2003-09-01 16:14 Ramit Bhalla
2003-09-01 18:03 ` Randy.Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Ramit Bhalla @ 2003-09-01 16:14 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
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 :)
Ramit.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-02 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-02 4:59 Bug in vsprintf.c - vsscanf() Ramit Bhalla
2003-09-02 15:32 ` Randy.Dunlap
-- strict thread matches above, loose matches on Subject: below --
2003-09-01 16:14 Ramit Bhalla
2003-09-01 18:03 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).