+++ This bug was initially created as a clone of Bug #1710460 +++ We need to incorporate this upstream fix: commit 32ff397533715988c19cbf3675dcbd727ec13e18 Author: Andreas Schwab <schwab> Date: Tue May 14 17:14:59 2019 +0200 Fix crash in _IO_wfile_sync (bug 20568) When computing the length of the converted part of the stdio buffer, use the number of consumed wide characters, not the (negative) distance to the end of the wide buffer.
Verified, the bug is reproducible in glibc-2.28-60.el8 and it has been fixed in glibc-2.28-61.el8
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3513