diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-02-03 09:37:30 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-02-03 09:38:24 +0100 |
commit | ee9941f94ea838774c34f60b3397fba07a803d92 (patch) | |
tree | 082d81424de2bb74bd63f0087869c956ea437ad7 /ChangeLog | |
parent | c70824b9a4645c0ecd049da8cfdb2c28ae7ada23 (diff) | |
download | glibc-ee9941f94ea838774c34f60b3397fba07a803d92.tar.gz glibc-ee9941f94ea838774c34f60b3397fba07a803d92.tar.xz glibc-ee9941f94ea838774c34f60b3397fba07a803d92.zip |
libio: Use stdin consistently for input functions [BZ #24153]
The internal _IO_stdin_ variable is not updated when the application assigns to stdin, which is a GNU extension.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4e715ee22f..8f311cc071 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2019-02-03 Florian Weimer <fweimer@redhat.com> + + [BZ #24153] + * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin. + * libio/getchar.c (getchar): Likewise. + * libio/getchar_u.c (getchar_unlocked): Likewise. + * libio/getwchar.c (getwchar): Likewise. + * libio/getwchar_u.c (getwchar_unlocked): Likewise. + * libio/iogets.c (_IO_gets): Likewise. + * libio/vscanf.c (_IO_vscanf): Likewise. + * libio/vwscanf.c (__vwscanf): Likewise. + * libio/tst-bz24153.c: New file. + * libio/Makefile (tests): Add it. + 2019-02-02 Florian Weimer <fweimer@redhat.com> [BZ #14829] |