This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/24677] free error in __libio_codecvt_out with e.g. UTF-8 locales
- From: "manuel.lauss at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 13 Jun 2019 10:23:31 +0000
- Subject: [Bug locale/24677] free error in __libio_codecvt_out with e.g. UTF-8 locales
- Auto-submitted: auto-generated
- References: <bug-24677-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24677
--- Comment #2 from Manuel Lauss <manuel.lauss at gmail dot com> ---
> But the util-linux rev case is slightly different because there is a genuine
> double-free on stdin here.
can trigger also with files:
# rev test.txt
rentner
free(): double free detected in tcache 2
Aborted (core dumped)
# LC_ALL=C rev test.txt
rentner
#
Why does setting locale to C not trigger the free error?
--
You are receiving this mail because:
You are on the CC list for the bug.