This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/20568] Segfault with wide characters and setlocale/fgetwc/UTF-8
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 15 May 2019 15:35:10 +0000
- Subject: [Bug locale/20568] Segfault with wide characters and setlocale/fgetwc/UTF-8
- Auto-submitted: auto-generated
- References: <bug-20568-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20568
--- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.28/master branch has been updated by Florian Weimer
<fw@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d948478bc586dec2fe3edd49e8e55f3893b3f854
commit d948478bc586dec2fe3edd49e8e55f3893b3f854
Author: Andreas Schwab <schwab@suse.de>
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.
(cherry picked from commit 32ff397533715988c19cbf3675dcbd727ec13e18)
--
You are receiving this mail because:
You are on the CC list for the bug.