diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-18 23:25:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-18 23:25:46 +0000 |
commit | 1b1d36792e9d9c4ad9a67ad8bfc1a3be8f2104c1 (patch) | |
tree | 4523c0003244e52de8da34478fc4aa201cb778bf /debug/vprintf_chk.c | |
parent | fb67e07dfb5403e6008e60be9896ced594014fec (diff) | |
download | glibc-1b1d36792e9d9c4ad9a67ad8bfc1a3be8f2104c1.zip glibc-1b1d36792e9d9c4ad9a67ad8bfc1a3be8f2104c1.tar.gz glibc-1b1d36792e9d9c4ad9a67ad8bfc1a3be8f2104c1.tar.bz2 |
Update.
2004-11-18 Ulrich Drepper <drepper@redhat.com>
* libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from
_IO_FLAGS2_CHECK_PERCENT_N.
* debug/fprintff_chk.c: Adjust all users.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/vprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats.
* debug/tst-chk1.c: Test detection of missing %N$ formats.
Diffstat (limited to 'debug/vprintf_chk.c')
-rw-r--r-- | debug/vprintf_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/vprintf_chk.c b/debug/vprintf_chk.c index f477f15..1fd5bcd 100644 --- a/debug/vprintf_chk.c +++ b/debug/vprintf_chk.c @@ -30,12 +30,12 @@ __vprintf_chk (int flag, const char *format, va_list ap) _IO_acquire_lock (stdout); if (flag > 0) - stdout->_flags2 |= _IO_FLAGS2_CHECK_PERCENT_N; + stdout->_flags2 |= _IO_FLAGS2_FORTIFY; done = vfprintf (stdout, format, ap); if (flag > 0) - stdout->_flags2 &= ~_IO_FLAGS2_CHECK_PERCENT_N; + stdout->_flags2 &= ~_IO_FLAGS2_FORTIFY; _IO_release_lock (stdout); return done; |