Re: Bug in vsprintf.c - vsscanf()

From: Randy.Dunlap
Date: Tue Sep 02 2003 - 12:10:41 EST


On Tue, 2 Sep 2003 10:29:07 +0530 "Ramit Bhalla" <ramit.bhalla@xxxxxxxxx> 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@xxxxxxxx]
| Sent: Monday, September 01, 2003 11:34 PM
| To: Ramit Bhalla
| Cc: linux-kernel@xxxxxxxxxxxxxxx; alan@xxxxxxxxxx
| 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/