From c8bb15ce8c5d9bb406e1611bd5bcc3b47b4324b1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Aug 1999 19:41:35 +0000 Subject: Update. 1999-08-13 Ulrich Drepper * stdio-common/vfscanf.c: Don't recognize hexadecimal floats with exponent. 1999-08-10 Andreas Schwab * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf header. --- stdio-common/vfscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index a494bfa..846542f 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -1410,8 +1410,8 @@ __vfscanf (FILE *s, const char *format, va_list argptr) /* Have we read any character? If we try to read a number in hexadecimal notation and we have read only the `0x' - prefix this is an error. */ - if (wpsize == 0 || (is_hexa && wpsize == 2)) + prefix or no exponent this is an error. */ + if (wpsize == 0 || (is_hexa && (wpsize == 2 || ! got_e))) conv_error (); scan_float: -- cgit v1.1