]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 13 Aug 1999 19:41:35 +0000 (19:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 13 Aug 1999 19:41:35 +0000 (19:41 +0000)
1999-08-13  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfscanf.c: Don't recognize hexadecimal floats with
exponent.

1999-08-10  Andreas Schwab  <schwab@suse.de>

* elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
header.

ChangeLog
stdio-common/vfscanf.c

index 7d3e361b4528e9b066402eb3fdde7cfd743c8f70..151b7f641339e4631716ce77a2273806eb6a98a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1999-08-13  Ulrich Drepper  <drepper@cygnus.com>
+
+       * stdio-common/vfscanf.c: Don't recognize hexadecimal floats with
+       exponent.
+
+1999-08-10  Andreas Schwab  <schwab@suse.de>
+
+       * elf/dl-load.c (_dl_map_object_from_fd): Fix check for valid elf
+       header.
+
 1999-08-09  Scott Bambrough  <scottb@netwinder.org>
 
        * elf/elf.h: Added definition of ELFOSABI_ARM.
index a494bfaa3be1366c09ff7796fab70b577d442020..846542fc6120371324d859920decd31455989601 100644 (file)
@@ -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: