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: Thu, 16 May 2019 08:47:06 +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 #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The release/2.26/master branch has been updated by Florian Weimer
<fw@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4385ec1d8af4203b23dce8c9dc2f1aff5acaf094
commit 4385ec1d8af4203b23dce8c9dc2f1aff5acaf094
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.