projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git]
/
lib
/
vsprintf.c
diff --git
a/lib/vsprintf.c
b/lib/vsprintf.c
index fbe320b5e89fb2a42b51ea51f7ea4c5ffdf9f6cc..40f560959b169b4c4ac6154d658cfe76cfd0c5a6 100644
(file)
--- a/
lib/vsprintf.c
+++ b/
lib/vsprintf.c
@@
-3642,7
+3642,7
@@
int vsscanf(const char *buf, const char *fmt, va_list args)
if (!digit
|| (base == 16 && !isxdigit(digit))
|| (base == 10 && !isdigit(digit))
- || (base == 8 &&
(!isdigit(digit) || digit > '7'
))
+ || (base == 8 &&
!isodigit(digit
))
|| (base == 0 && !isdigit(digit)))
break;