]> git.ipfire.org Git - thirdparty/glibc.git/commit
libio: Disable vtable validation for pre-2.1 interposed handles [BZ #25203] release/2.25/master
authorFlorian Weimer <fweimer@redhat.com>
Fri, 22 Nov 2019 21:10:42 +0000 (22:10 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 28 Nov 2019 15:21:26 +0000 (16:21 +0100)
commita0408ec51ea862dda102482036c401d2e707e20b
tree719d3fa214b74d71b79459139d438d8692682228
parent8440c51d8981e8e40d611a2cbf9850091e7d5a72
libio: Disable vtable validation for pre-2.1 interposed handles [BZ #25203]

Commit c402355dfa7807b8e0adb27c009135a7e2b9f1b0 ("libio: Disable
vtable validation in case of interposition [BZ #23313]") only covered
the interposable glibc 2.1 handles, in libio/stdfiles.c.  The
parallel code in libio/oldstdfiles.c needs similar detection logic.

Fixes (again) commit db3476aff19b75c4fdefbe65fcd5f0a90588ba51
("libio: Implement vtable verification [BZ #20191]").

Change-Id: Ief6f9f17e91d1f7263421c56a7dc018f4f595c21
(cherry picked from commit cb61630ed712d033f54295f776967532d3f4b46a)
libio/oldstdfiles.c